Versions in this module Expand all Collapse all v0 v0.0.1 May 17, 2022 Changes in this version + func Authorize(secret string, opts ...AuthorizeOption) func(http.Handler) http.Handler + func BreakerHandler(method, path string, metrics *stat.Metrics) func(http.Handler) http.Handler + func ContentSecurityHandler(decrypters map[string]codec.RsaDecrypter, tolerance time.Duration, strict bool, ...) func(http.Handler) http.Handler + func CryptionHandler(key []byte) func(http.Handler) http.Handler + func DetailedLogHandler(next http.Handler) http.Handler + func GunzipHandler(next http.Handler) http.Handler + func LogHandler(next http.Handler) http.Handler + func MaxBytesHandler(n int64) func(http.Handler) http.Handler + func MaxConns(n int) func(http.Handler) http.Handler + func MetricHandler(metrics *stat.Metrics) func(http.Handler) http.Handler + func PrometheusHandler(path string) func(http.Handler) http.Handler + func RecoverHandler(next http.Handler) http.Handler + func SetSlowThreshold(threshold time.Duration) + func SheddingHandler(shedder load.Shedder, metrics *stat.Metrics) func(http.Handler) http.Handler + func TimeoutHandler(duration time.Duration) func(http.Handler) http.Handler + func TracingHandler(serviceName, path string) func(http.Handler) http.Handler + type AuthorizeOption func(opts *AuthorizeOptions) + func WithPrevSecret(secret string) AuthorizeOption + func WithUnauthorizedCallback(callback UnauthorizedCallback) AuthorizeOption + type AuthorizeOptions struct + Callback UnauthorizedCallback + PrevSecret string + type UnauthorizedCallback func(w http.ResponseWriter, r *http.Request, err error) + type UnsignedCallback func(w http.ResponseWriter, r *http.Request, next http.Handler, strict bool, ...)