# Functions
JSONResponseContextHandler wrap the response in a standard json structure.
JSONResponseHandler wrap the response in a standard json structure.
LogContextHandler log requests Use this context-handler to log every call to console.
LogHandler log requests.
MethodNotAllowedResponseHandler handle the default 405 errors with JSONResponseHandler.
NewLoggerHandler creates a new LoggerHandler.
NotFoundResponseHandler handle the default 404 errors with JSONResponseHandler.
PanicHandler handle all crashes with a proper JSONResponseHandler response.
Ping route should just respond with pong.
# Constants
JSONContentType The default content-type.
# Variables
LoggerContextKey a key to map the logger.
# Structs
LoggerHandler holds the logger-instance.