Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Limiter ¶
type Limiter struct {
// contains filtered or unexported fields
}
Limiter holds a collection of buckets to track global and per-route rate limits. Create one with NewLimiter.
func NewLimiter ¶
func NewLimiter() *Limiter
NewLimiter returns an initialized and ready to use Limiter.
Click to show internal directories.
Click to hide internal directories.