Rename full path in order to favor modules

This commit is contained in:
9seconds
2019-11-11 15:09:29 +03:00
parent b491e03504
commit 273aa18367
53 changed files with 120 additions and 122 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ import (
"go.uber.org/zap"
"github.com/9seconds/mtg/conntypes"
"mtg/conntypes"
)
const (
+2 -2
View File
@@ -8,8 +8,8 @@ import (
"go.uber.org/zap"
"github.com/9seconds/mtg/conntypes"
"github.com/9seconds/mtg/utils"
"mtg/conntypes"
"mtg/utils"
)
const (
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"go.uber.org/zap"
"github.com/9seconds/mtg/conntypes"
"mtg/conntypes"
)
const clientIntermediateQuickAckLength = 0x80000000
@@ -8,7 +8,7 @@ import (
"go.uber.org/zap"
"github.com/9seconds/mtg/conntypes"
"mtg/conntypes"
)
type wrapperClientIntermediateSecure struct {
+5 -5
View File
@@ -6,11 +6,11 @@ import (
"fmt"
"net"
"github.com/9seconds/mtg/config"
"github.com/9seconds/mtg/conntypes"
"github.com/9seconds/mtg/hub"
"github.com/9seconds/mtg/mtproto/rpc"
"github.com/9seconds/mtg/protocol"
"mtg/config"
"mtg/conntypes"
"mtg/hub"
"mtg/mtproto/rpc"
"mtg/protocol"
)
type wrapperProxy struct {
+1 -1
View File
@@ -3,7 +3,7 @@ package stream
import (
"net"
"github.com/9seconds/mtg/conntypes"
"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"
"github.com/9seconds/mtg/conntypes"
"github.com/9seconds/mtg/utils"
"mtg/conntypes"
"mtg/utils"
)
type wrapperBlockCipher struct {
+2 -2
View File
@@ -7,8 +7,8 @@ import (
"go.uber.org/zap"
"github.com/9seconds/mtg/config"
"github.com/9seconds/mtg/conntypes"
"mtg/config"
"mtg/conntypes"
)
type connPurpose uint8
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"go.uber.org/zap"
"github.com/9seconds/mtg/conntypes"
"mtg/conntypes"
)
type wrapperCtx struct {
+2 -2
View File
@@ -8,8 +8,8 @@ import (
"go.uber.org/zap"
"github.com/9seconds/mtg/conntypes"
"github.com/9seconds/mtg/tlstypes"
"mtg/conntypes"
"mtg/tlstypes"
)
type wrapperFakeTLS struct {
+3 -3
View File
@@ -9,9 +9,9 @@ import (
"encoding/binary"
"net"
"github.com/9seconds/mtg/conntypes"
"github.com/9seconds/mtg/mtproto/rpc"
"github.com/9seconds/mtg/utils"
"mtg/conntypes"
"mtg/mtproto/rpc"
"mtg/utils"
)
type mtprotoCipherPurpose uint8
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"go.uber.org/zap"
"github.com/9seconds/mtg/conntypes"
"mtg/conntypes"
)
type wrapperObfuscated2 struct {
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"go.uber.org/zap"
"github.com/9seconds/mtg/conntypes"
"mtg/conntypes"
)
type ReadWriteCloseRewinder interface {
+2 -2
View File
@@ -7,8 +7,8 @@ import (
"go.uber.org/zap"
"github.com/9seconds/mtg/conntypes"
"github.com/9seconds/mtg/stats"
"mtg/conntypes"
"mtg/stats"
)
type wrapperTelegramStats struct {
+2 -2
View File
@@ -6,8 +6,8 @@ import (
"go.uber.org/zap"
"github.com/9seconds/mtg/conntypes"
"github.com/9seconds/mtg/stats"
"mtg/conntypes"
"mtg/stats"
)
type wrapperTrafficStats struct {
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"go.uber.org/zap"
"github.com/9seconds/mtg/conntypes"
"mtg/conntypes"
)
const (