package
0.0.1
Repository: https://github.com/volatiletech/abcweb.git
Documentation: pkg.go.dev

# Functions

NewMethodNotAllowedHandler creates a new handler.
NewNotFoundHandler creates a new handler.
StartServer starts the web server on the specified port, and can be gracefully shut down by sending an os.Interrupt signal to the server.

# Structs

MethodNotAllowed holds the state for the MethodNotAllowed handler.
MethodNotAllowedTemplates for specific errors.
NotFound holds the state for the NotFound handler.
NotFoundTemplates for specific errors.
ServerErrLogger allows us to use the zap.Logger as our http.Server ErrorLog.