package
12.2.11
Repository: https://github.com/kataras/iris.git
Documentation: pkg.go.dev

# Functions

ClientData is an `Option` that can be passed at the `Limit` package-level function.
Every converts a minimum time interval between events to a limit.
ExceedHandler is an `Option` that can be passed at the `Limit` package-level function.
Get returns the current rate limited `Client`.
Limit returns a new rate limiter handler that allows requests up to rate "limit" and permits bursts of at most "burst" tokens.
PurgeEvery is an `Option` that can be passed at the `Limit` package-level function.
SetIdentifier can be called manually from a handler or a middleare to change the identifier per client.

# Constants

Inf is the infinite rate limit; it allows all events (even if burst is zero).

# Structs

# Type aliases

Option declares a function which can be passed on `Limit` package-level to modify its internal fields.