# Functions
DefaultGetListener obtains a listener for the stream-oriented local network address: "tcp", "tcp4", "tcp6", "unix" or "unixpacket".
GetListenerTCP announces on the local network address.
GetListenerUnix announces on the local network address.
GetManager returns the Manager.
HTTPListenAndServe listens on the provided network address and then calls Serve to handle requests on incoming connections.
HTTPListenAndServeTLSConfig listens on the provided network address and then calls Serve to handle requests on incoming connections.
InitManager creates the graceful manager in the provided context.
KillParent sends the kill signal to the parent process if we are a child.
NewServer creates a server on network at provided address.
RestartProcess starts a new process passing it the active listeners.
# Variables
GetListener returns a net listener This determines the implementation of net.Listener which the server will use, so that downstreams could provide their own Listener, such as with a hidden service or a p2p network.
# Type aliases
ServeFunction represents a listen.Accept loop.