Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LoggingMiddleware ¶
func (*LoggingMiddleware) Middleware ¶
func (m *LoggingMiddleware) Middleware(next http.Handler) http.Handler
Middleware logs the incoming HTTP request & its duration.
type Middleware ¶
func Chain ¶
func Chain(middleware ...Middleware) Middleware
type RateLimiterMiddleware ¶
func (*RateLimiterMiddleware) Middleware ¶
func (m *RateLimiterMiddleware) Middleware(next http.Handler) http.Handler
Click to show internal directories.
Click to hide internal directories.