This commit is contained in:
suyl
2021-06-29 09:13:43 +08:00
parent 17aecd365f
commit 341afec0b7
2 changed files with 1 additions and 1 deletions

View File

@@ -56,6 +56,7 @@ func ListenTcp() {
return
}
globals.SugarLogger.Debugf("begin listenTcp port 8000......")
go HandleTcpMessages()
for {
c, err := l.Accept()
if err != nil {

View File

@@ -130,7 +130,6 @@ func main() {
}()
if globals.IsPrintEnv() {
event.ListenTcp()
go event.HandleTcpMessages()
}
beego.Run()
}