Documentation
¶
Overview ¶
package mid contains the set of middleware functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Errors ¶
func Errors(log *zap.SugaredLogger) web.Middleware
func Logger ¶
func Logger(log *zap.SugaredLogger) web.Middleware
Logger writes information about the request to the logs.
func Metrics ¶
func Metrics() web.Middleware
func Panics ¶
func Panics() web.Middleware
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.