Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithLimiterDispatcher ¶
Types ¶
type LimiterDispatcher ¶
type LimiterDispatcher struct {
// contains filtered or unexported fields
}
func NewLimiterDispatcher ¶
func NewLimiterDispatcher(delegate http.Handler, rateLimiter limiter.RateLimiter) *LimiterDispatcher
func (*LimiterDispatcher) Dispatch ¶
func (s *LimiterDispatcher) Dispatch(w http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.