diff --git a/server_handlers.go b/server_handlers.go index 0a29a5e..779c02a 100644 --- a/server_handlers.go +++ b/server_handlers.go @@ -38,6 +38,10 @@ func (sh *ServerHandlers) Listen(serverCTX ServerContext) (net.Listener, error) return nil, errors.New("Server: Handler method[Listen] of Server is not implement") } +func (sh *ServerHandlers) OnStart(serverCTX ServerContext) { + // no op +} + func (sh *ServerHandlers) OnError(serverCTX ServerContext, conn net.Conn, status int, reason error) { logging.Logger().Error(fmt.Sprintf("Server: error status: %d, reason: %v, [%v]", status, reason, conn)) }