This commit is contained in:
lu.bai
2022-11-24 22:47:24 +08:00
parent f6a161d52f
commit 71d0135d6f
3213 changed files with 583576 additions and 216 deletions
+5 -4
View File
@@ -3,14 +3,15 @@ package net
import (
"bytes"
"encoding/binary"
"hk4e/common/config"
"hk4e/common/utils/random"
"hk4e/gate/kcp"
"hk4e/logger"
"os"
"strconv"
"sync"
"time"
"hk4e/common/config"
"hk4e/gate/kcp"
"hk4e/pkg/logger"
"hk4e/pkg/random"
)
type KcpXorKey struct {
+3 -2
View File
@@ -3,8 +3,9 @@ package net
import (
"bytes"
"encoding/binary"
"hk4e/common/utils/endec"
"hk4e/logger"
"hk4e/pkg/endec"
"hk4e/pkg/logger"
)
/*
+1 -1
View File
@@ -1,6 +1,6 @@
package net
import "hk4e/logger"
import "hk4e/pkg/logger"
const (
KcpXorKeyChange = iota
+3 -2
View File
@@ -1,10 +1,11 @@
package net
import (
pb "google.golang.org/protobuf/proto"
"hk4e/logger"
"hk4e/pkg/logger"
"hk4e/protocol/cmd"
"hk4e/protocol/proto"
pb "google.golang.org/protobuf/proto"
)
type ProtoEnDecode struct {