Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authentication ¶ added in v0.2.0
func Authentication(basicAuthAuthenticator BasicAuthenticator) gin.HandlerFunc
func Zerolog ¶
func Zerolog() gin.HandlerFunc
ZerologMiddleware returns a gin middleware that logs HTTP requests using zerolog. It logs the HTTP method, path, client IP, status code, latency, and other request details.
Types ¶
Click to show internal directories.
Click to hide internal directories.