Documentation
¶
Index ¶
- Variables
- func Http3AltSvc(port *string) func(next http.Handler) http.Handler
- func MaxBodySize(maxSize int64) func(next http.Handler) http.Handler
- func NoCache(next http.Handler) http.Handler
- func Recoverer(next http.Handler) http.Handler
- func RequestID(header string) func(next http.Handler) http.Handler
- func SetLogger(logger *slog.Logger) func(next http.Handler) http.Handler
- func SetServerHeader(server string) func(next http.Handler) http.Handler
- func StrictTransportSecurity(maxAge *string, includeSubDomains bool) func(next http.Handler) http.Handler
Constants ¶
This section is empty.
Variables ¶
View Source
var RequestIDCtxKey = requestIDContextKey{}
RequestIDCtxKey is the key that holds the unique request ID in a request context.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.