去掉新建服务时初始化

This commit is contained in:
boyce
2019-02-26 11:19:26 +08:00
parent 6e616282d2
commit 6adce06f72
2 changed files with 0 additions and 3 deletions

View File

@@ -61,7 +61,6 @@ func NewHttpServerService(port uint16) *HttpServerService {
http := new(HttpServerService)
http.port = port
http.Init(http)
return http
}

View File

@@ -31,8 +31,6 @@ func NewWSServerService(port uint16) *WSServerService {
wss := new(WSServerService)
wss.port = port
wss.Init(wss)
return wss
}