diff --git a/server/server-handler.go b/server/server-handler.go index 292421d..24aff83 100644 --- a/server/server-handler.go +++ b/server/server-handler.go @@ -1,8 +1,6 @@ package server import ( - "net" - "git.loafle.net/commons/server-go" cswf "git.loafle.net/commons/server-go/web/fasthttp" ogeg "git.loafle.net/overflow/gateway/external/grpc" @@ -25,15 +23,6 @@ func (sh *ServerHandlers) Init(serverCtx server.ServerCtx) error { return nil } -func (sh *ServerHandlers) Listener(serverCtx server.ServerCtx) (net.Listener, error) { - l, err := net.Listen("tcp", "192.168.1.101:44449") - if nil != err { - return nil, err - } - - return l, nil -} - func (sh *ServerHandlers) Destroy(serverCtx server.ServerCtx) { ogeg.DestroyPackage()