Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Common ¶
Common wraps the handler with common middleware to:
* Log requests * Recover from panics. * Add the request id to the context.
func LogRequests ¶ added in v0.10.1
LogRequests logs the requests to the embedded logger.
func PrefixRequestID ¶ added in v0.10.1
PrefixRequestID adds the request as a prefix to the log15.Logger.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.