Documentation ¶
Overview ¶
Package server provides an HTTP server, coupled with an HTTP request multiplexer (MUX).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPServer ¶
HTTPServer is a wrapper around http.Server additionally exposing *RequestHandler for closing resources
func NewHTTPServer ¶
func NewHTTPServer(addr string) *HTTPServer
NewHTTPServer returns a new http server
type RequestHandler ¶
type RequestHandler struct {
// contains filtered or unexported fields
}
RequestHandler contains necessary dependents to handle HTTP requests.
func NewHTTPHandler ¶
func NewHTTPHandler(config config.Config) *RequestHandler
NewHTTPHandler returns an instance of HTTPHandler
Click to show internal directories.
Click to hide internal directories.