Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Listener ¶
Listener server for using a pre-defined net.Listener
func UnixSocket ¶
UnixSocket returns a new Listener on that address
type Server ¶
type Server interface { Shutdown(context.Context) error Start(context.Context, http.Handler) error SetAddr(string) }
Server allows for custom server implementations
func WrapListener ¶
WrapListener wraps an *http.Server and a net.Listener
type Simple ¶
Simple server
Click to show internal directories.
Click to hide internal directories.