
This PR removes Serve function and uses all required places ServeWithListenerStopped which takes place new Serve function. This function returns ListenerStopped channel can be used to drain requests before shutting down the server.
This PR removes Serve function and uses all required places ServeWithListenerStopped which takes place new Serve function. This function returns ListenerStopped channel can be used to drain requests before shutting down the server.