Documentation
¶
Index ¶
- func AuthMiddleware(next http.Handler) http.Handler
- func CompressionMiddleware(next http.Handler) http.Handler
- func GetRequestAccessKey(r *http.Request) string
- func LoggingMiddleware(next http.Handler) http.Handler
- func NormalizationMiddleware(next http.Handler) http.Handler
- func WithIAM(action iam.Action, next http.Handler) http.Handler
- type Middleware
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthMiddleware ¶
Must come before middleware that changes the request (e.g., NormalizeMiddleware)
func GetRequestAccessKey ¶
func LoggingMiddleware ¶
Tracks request time and logs request after all handlers
Types ¶
type Middleware ¶
func Stack ¶
func Stack(mw ...Middleware) Middleware
Click to show internal directories.
Click to hide internal directories.