修改tcp消息对外只暴露clientid

This commit is contained in:
boyce
2020-02-11 14:56:47 +08:00
parent 25f6f807ef
commit b2f7b18aaa
8 changed files with 59 additions and 191 deletions

View File

@@ -37,15 +37,15 @@ func main() {
httpserver.SetHttps(ca.CertFile, ca.KeyFile)
}
pTcpService := sysservice.NewTcpSocketPbService(":9004")
pTcpService := sysservice.NewTcpSocketPbService(":9402")
pTcpService.SetServiceName("ls")
/*
pTcpService2 := sysservice.NewTcpSocketPbService(":9005")
pTcpService2.SetServiceName("lc")
*/
httpserver.SetPrintRequestTime(true)
node.SetupService(httpserver,pTcpService,pTcpService2)
node.SetupService(httpserver,pTcpService)
node.Init()
node.Start()
}