refactor: 整理依赖库

This commit is contained in:
flswld committed 2025-06-20 03:10:44 +08:00
1 parent 853f6003a3
commit a105110acb
161 files changed
+311 -11050

No files matched your search

+1 -1
View File
@@ -11,9 +11,9 @@ import (
"hk4e/common/config"
"hk4e/common/rpc"
"hk4e/node/api"
"hk4e/pkg/logger"
"hk4e/protocol/cmd"
"github.com/flswld/halo/logger"
"github.com/nats-io/nats.go"
"github.com/vmihailenco/msgpack/v5"
pb "google.golang.org/protobuf/proto"
+3 -1
View File
@@ -1,6 +1,8 @@
package mq
import pb "google.golang.org/protobuf/proto"
import (
pb "google.golang.org/protobuf/proto"
)
const (
MsgTypeGame = iota // 来自客户端的游戏消息
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"regexp"
"strconv"
"hk4e/pkg/logger"
"github.com/flswld/halo/logger"
)
func LoadRegionRsaKey() (signRsaKey []byte, encRsaKeyMap map[string][]byte, pwdRsaKey []byte) {