This commit is contained in:
flswld
2023-03-29 17:14:28 +08:00
parent 4c4c16efd0
commit cff2133ffa
8 changed files with 201 additions and 94 deletions
+3
View File
@@ -12,6 +12,7 @@ import (
"hk4e/common/config"
"hk4e/common/mq"
"hk4e/common/rpc"
"hk4e/gdconf"
"hk4e/node/api"
"hk4e/pkg/logger"
)
@@ -61,6 +62,8 @@ func Run(ctx context.Context, configFile string) error {
logger.CloseLogger()
}()
gdconf.InitGameDataConfig()
messageQueue := mq.NewMessageQueue(api.ANTICHEAT, APPID, client)
defer messageQueue.Close()