mirror of
https://github.com/duanhf2012/origin.git
synced 2026-03-12 11:07:53 +08:00
去掉servicetype
This commit is contained in:
@@ -61,7 +61,7 @@ func NewHttpServerService(port uint16) *HttpServerService {
|
||||
http := new(HttpServerService)
|
||||
|
||||
http.port = port
|
||||
http.Init(http, 0)
|
||||
http.Init(http)
|
||||
return http
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ func NewWSServerService(port uint16) *WSServerService {
|
||||
|
||||
wss.port = port
|
||||
|
||||
wss.Init(wss, 0)
|
||||
wss.Init(wss)
|
||||
return wss
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user