mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-13 23:24:45 +08:00
提交httpservice与example示例
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user