package
1.5.0
Repository: https://github.com/aaronland/go-http-server.git
Documentation: pkg.go.dev

# Functions

DisabledHandler is a middleware handler that returns an HTTP 503 (Service unavailable) error if 'disabled' is true.
No description provided by the author
No description provided by the author
RouteHandler create a new `http.Handler` instance that will serve requests using handlers defined in 'handlers' with a `log.Logger` instance that discards all writes.
RouteHandlerWithOptions create a new `http.Handler` instance that will serve requests using handlers defined in 'opts.Handlers'.

# Structs

RouteHandlerOptions is a struct that contains configuration settings for use the RouteHandlerWithOptions method.

# Type aliases

RouteHandlerFunc returns an `http.Handler` instance.