Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextWithZapLogger ¶
ContextWithZapLogger returns a new context with a zap logger.
Types ¶
type ZapLogMiddleware ¶
ZapLogMiddleware is a middleware which sets the zap logger in the context, allowing downstream middlewares and handler to access to a logger
func (ZapLogMiddleware) Chain ¶
func (f ZapLogMiddleware) Chain(next http.HandlerFunc) http.HandlerFunc
Click to show internal directories.
Click to hide internal directories.