diff --git a/sysservice/httpserverervice.go b/sysservice/httpserverervice.go index f6cf579..a922b4a 100644 --- a/sysservice/httpserverervice.go +++ b/sysservice/httpserverervice.go @@ -61,7 +61,6 @@ func NewHttpServerService(port uint16) *HttpServerService { http := new(HttpServerService) http.port = port - http.Init(http) return http } diff --git a/sysservice/wsserverservice.go b/sysservice/wsserverservice.go index 43279c5..acff58b 100644 --- a/sysservice/wsserverservice.go +++ b/sysservice/wsserverservice.go @@ -31,8 +31,6 @@ func NewWSServerService(port uint16) *WSServerService { wss := new(WSServerService) wss.port = port - - wss.Init(wss) return wss }