Documentation ¶
Index ¶
- func AddHeaders(headers []string)
- func Auth(next http.Handler) http.Handler
- func ConcurrentLimiter(maxConcurrentRequests int, next http.Handler) http.Handler
- func Cors(next http.Handler) http.Handler
- func Json(next http.Handler) http.Handler
- func Method(next http.Handler, methods ...string) http.Handler
- func Panic(next http.Handler) http.Handler
- func Timeout(timeout time.Duration, next http.Handler) http.Handler
- func Translator(next http.Handler) http.Handler
- type PanicResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddHeaders ¶
func AddHeaders(headers []string)
func ConcurrentLimiter ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.