协议密钥动态随机生成

This commit is contained in:
huangxiaolei committed 2022-11-28 23:36:57 +08:00
1 parent 362ca86130
commit 746435cf3c
22 files changed
+173 -172

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ func Run(ctx context.Context, configFile string) error {
forwardManager := forward.NewForwardManager(protoMsgInput, protoMsgOutput, kcpEventInput, kcpEventOutput, netMsgInput, netMsgOutput)
forwardManager.Start()
messageQueue := mq.NewMessageQueue(netMsgInput, netMsgOutput)
messageQueue := mq.NewMessageQueue(netMsgInput, netMsgOutput, kcpEventInput)
messageQueue.Start()
defer messageQueue.Close()