package
2.2.2+incompatible
Repository: https://github.com/ltick/tick-routing.git
Documentation: pkg.go.dev

# Functions

CustomLogger returns a handler that calls the LogWriterFunc passed to it for every request.
No description provided by the author
Logger returns a handler that logs a message for every request.

# Structs

LogResponseWriter wraps http.ResponseWriter in order to capture HTTP status and response length information.

# Type aliases

LogFunc logs a message using the given format and optional arguments.
LogWriterFunc takes in the request and responseWriter objects as well as a float64 containing the elapsed time since the request first passed through this middleware and does whatever log writing it wants with that information.