Rename module from mtg to github.com/9seconds/mtg

This commit is contained in:
9seconds
2019-11-19 11:17:14 +03:00
parent ed9689d813
commit 843fc4b70f
52 changed files with 120 additions and 120 deletions
+4 -4
View File
@@ -7,10 +7,10 @@ import (
"go.uber.org/zap"
"mtg/conntypes"
"mtg/mtproto"
"mtg/mtproto/rpc"
"mtg/protocol"
"github.com/9seconds/mtg/conntypes"
"github.com/9seconds/mtg/mtproto"
"github.com/9seconds/mtg/mtproto/rpc"
"github.com/9seconds/mtg/protocol"
)
type connection struct {
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"fmt"
"sort"
"mtg/config"
"github.com/9seconds/mtg/config"
)
type connectionList struct {
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"context"
"sync"
"mtg/protocol"
"github.com/9seconds/mtg/protocol"
)
type hub struct {
+1 -1
View File
@@ -1,6 +1,6 @@
package hub
import "mtg/protocol"
import "github.com/9seconds/mtg/protocol"
type Interface interface {
Register(*protocol.TelegramRequest) (*ProxyConn, error)
+2 -2
View File
@@ -3,8 +3,8 @@ package hub
import (
"context"
"mtg/conntypes"
"mtg/protocol"
"github.com/9seconds/mtg/conntypes"
"github.com/9seconds/mtg/protocol"
)
type muxNewRequest struct {
+3 -3
View File
@@ -4,9 +4,9 @@ import (
"sync"
"time"
"mtg/conntypes"
"mtg/mtproto/rpc"
"mtg/protocol"
"github.com/9seconds/mtg/conntypes"
"github.com/9seconds/mtg/mtproto/rpc"
"github.com/9seconds/mtg/protocol"
)
const (