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
+1 -1
View File
@@ -3,7 +3,7 @@ package stream
import (
"net"
"mtg/conntypes"
"github.com/9seconds/mtg/conntypes"
)
func NewClientConn(parent net.Conn, connID conntypes.ConnID) conntypes.StreamReadWriteCloser {
+2 -2
View File
@@ -9,8 +9,8 @@ import (
"go.uber.org/zap"
"mtg/conntypes"
"mtg/utils"
"github.com/9seconds/mtg/conntypes"
"github.com/9seconds/mtg/utils"
)
type wrapperBlockCipher struct {
+2 -2
View File
@@ -7,8 +7,8 @@ import (
"go.uber.org/zap"
"mtg/config"
"mtg/conntypes"
"github.com/9seconds/mtg/config"
"github.com/9seconds/mtg/conntypes"
)
type connPurpose uint8
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"go.uber.org/zap"
"mtg/conntypes"
"github.com/9seconds/mtg/conntypes"
)
type wrapperCtx struct {
+2 -2
View File
@@ -8,8 +8,8 @@ import (
"go.uber.org/zap"
"mtg/conntypes"
"mtg/tlstypes"
"github.com/9seconds/mtg/conntypes"
"github.com/9seconds/mtg/tlstypes"
)
type wrapperFakeTLS struct {
+3 -3
View File
@@ -9,9 +9,9 @@ import (
"encoding/binary"
"net"
"mtg/conntypes"
"mtg/mtproto/rpc"
"mtg/utils"
"github.com/9seconds/mtg/conntypes"
"github.com/9seconds/mtg/mtproto/rpc"
"github.com/9seconds/mtg/utils"
)
type mtprotoCipherPurpose uint8
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"go.uber.org/zap"
"mtg/conntypes"
"github.com/9seconds/mtg/conntypes"
)
type wrapperObfuscated2 struct {
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"go.uber.org/zap"
"mtg/conntypes"
"github.com/9seconds/mtg/conntypes"
)
type ReadWriteCloseRewinder interface {
+2 -2
View File
@@ -7,8 +7,8 @@ import (
"go.uber.org/zap"
"mtg/conntypes"
"mtg/stats"
"github.com/9seconds/mtg/conntypes"
"github.com/9seconds/mtg/stats"
)
type wrapperTelegramStats struct {
+2 -2
View File
@@ -6,8 +6,8 @@ import (
"go.uber.org/zap"
"mtg/conntypes"
"mtg/stats"
"github.com/9seconds/mtg/conntypes"
"github.com/9seconds/mtg/stats"
)
type wrapperTrafficStats struct {
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"go.uber.org/zap"
"mtg/conntypes"
"github.com/9seconds/mtg/conntypes"
)
const (