Documentation ¶
Index ¶
- Variables
- func Debug(message string, fields ...zap.Field)
- func Error(message string, fields ...zap.Field)
- func Fatal(message string, fields ...zap.Field)
- func Info(message string, fields ...zap.Field)
- func Int(key string, value int) zap.Field
- func LoggingMiddleware() func(http.Handler) http.Handler
- func String(key string, value string) zap.Field
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger *zap.Logger
Functions ¶
func LoggingMiddleware ¶
LoggingMiddleware logs the request and response of each HTTP request.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.