新增websocket

This commit is contained in:
duanhf2012
2020-04-21 14:40:31 +08:00
parent f74f3a812e
commit e590f0dce9
13 changed files with 631 additions and 6 deletions

View File

@@ -305,8 +305,9 @@ func main(){
httpService := &sysservice.HttpService{}
wsService := &sysservice.WSService{}
node.Setup(tcpService,gateService,httpService)
node.Setup(tcpService,gateService,httpService,wsService)
node.OpenProfilerReport(time.Second*10)
node.Start()
}