# Functions
New returns a new host supervisor based on a native net/http "srv".
NewProxy returns a new host (server supervisor) which proxies all requests to the target.
NewProxyRemote returns a new host (server supervisor) which proxies all requests to the target.
NewRedirection returns a new host (server supervisor) which redirects all requests to the target.
NewWaiter returns a new Waiter.
NonBlocking sets the server to non-blocking mode.
ProxyHandler returns a new ReverseProxy that rewrites URLs to the scheme, host, and base path provided in target.
ProxyHandlerRemote returns a new ReverseProxy that rewrites URLs to the scheme, host, and path provided in target.
RedirectHandler returns a simple redirect handler.
RegisterOnInterrupt registers a global function to call when CTRL+C pressed or a unix kill command received.
ShutdownOnInterrupt terminates the supervisor and its underline server when CMD+C/CTRL+C pressed.
WriteStartupLogOnServe is a task which accepts a logger(io.Writer) and logs the listening address by a generated message based on the host supervisor's server and writes it to the "w".
# Variables
Interrupt watches the os.Signals for interruption signals and fires the callbacks when those happens.
# Structs
Supervisor is the wrapper and the manager for a compatible server and it's relative actions, called Tasks.
TaskHost contains all the necessary information about the host supervisor, its server and the exports the whole flow controller of it.
Waiter is a helper for waiting for a server to be up and running.
# Type aliases
Configurator provides an easy way to modify the Supervisor.