Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( log *logger.Logger, skipper func(*fasthttp.RequestCtx) bool, ) func(fasthttp.RequestHandler) fasthttp.RequestHandler
New creates a middleware that logs every incoming request.
The skipper function should return true if the request should be skipped. It's ok to pass nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.