Documentation ¶ Index ¶ func LogRequests(next http.Handler) http.Handler func PanicRecovery(next http.Handler) http.Handler func TraceID(next http.Handler) http.Handler type Logger func (c Logger) ContextLogger(next http.Handler) http.Handler Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func LogRequests ¶ added in v0.3.0 func LogRequests(next http.Handler) http.Handler LogRequests logs the incoming requests func PanicRecovery ¶ added in v0.3.0 func PanicRecovery(next http.Handler) http.Handler func TraceID ¶ added in v0.27.2 func TraceID(next http.Handler) http.Handler Types ¶ type Logger ¶ added in v0.6.0 type Logger struct { Logger *slog.Logger } func (Logger) ContextLogger ¶ added in v0.6.0 func (c Logger) ContextLogger(next http.Handler) http.Handler Source Files ¶ View all Source files context_logger.gopanic_recovery.gorequest_logger.gotrace_id.go Click to show internal directories. Click to hide internal directories.