package
2.4.0
Repository: https://github.com/go-ozzo/ozzo-routing.git
Documentation: pkg.go.dev

# Functions

CustomLogger returns a handler that calls the LogWriterFunc passed to it for every request.
GetClientIP returns the client IP address from the given HTTP request.
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.