Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorTooManyRequests = web.NewError(http.StatusTooManyRequests)
Functions ¶
func HandlerName ¶
Types ¶
type AutoLimiter ¶
type AutoLimiter struct {
// contains filtered or unexported fields
}
func (*AutoLimiter) Apply ¶
func (al *AutoLimiter) Apply(next web.HandlerFunc) web.HandlerFunc
type SimpleLimiter ¶
type SimpleLimiter struct {
// contains filtered or unexported fields
}
func (*SimpleLimiter) Apply ¶
func (sl *SimpleLimiter) Apply(next web.HandlerFunc) web.HandlerFunc
Click to show internal directories.
Click to hide internal directories.