mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-11 21:54:50 +08:00
去掉新建服务时初始化
This commit is contained in:
@@ -61,7 +61,6 @@ func NewHttpServerService(port uint16) *HttpServerService {
|
||||
http := new(HttpServerService)
|
||||
|
||||
http.port = port
|
||||
http.Init(http)
|
||||
return http
|
||||
}
|
||||
|
||||
|
||||
@@ -31,8 +31,6 @@ func NewWSServerService(port uint16) *WSServerService {
|
||||
wss := new(WSServerService)
|
||||
|
||||
wss.port = port
|
||||
|
||||
wss.Init(wss)
|
||||
return wss
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user