提交httpservice与example示例

This commit is contained in:
duanhf2012
2020-04-07 19:33:27 +08:00
parent bedb715c6d
commit f2eda1c635
10 changed files with 438 additions and 460 deletions

View File

@@ -236,7 +236,10 @@ func main(){
tcpService := &sysservice.TcpService{}
gateService := &GateService.GateService{}
tcpService.SetEventReciver(gateService)
node.Setup(tcpService,gateService)
httpService := &sysservice.HttpService{}
node.Setup(tcpService,gateService,httpService)
node.OpenProfilerReport(time.Second*10)
node.Start()
}