Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Recoverer ¶
Recoverer recovers from panics in downstream handlers and returns HTTP 500. If logger is nil, log.Default() is used.
func RequestLogger ¶
RequestLogger logs each incoming request and the response status. If logger is nil, log.Default() is used.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.