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