Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Error ¶
func Error(log *logger.Logger) web.Middleware
Errors handles errors coming out of the call chain. It detects normal application errors which are used to respond to the client in a uniform way. Unexpected errors (status >= 500) are logged.
func Logger ¶
func Logger(log *logger.Logger) web.Middleware
Logger writes information about the request to the logs.
func Panics ¶
func Panics() web.Middleware
Panics recovers from panics and converts the panic to an error so it is reported in Metrics and handled in Errors
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.