# Functions

AllowOnError instructs the middleware to fail (internal server error) on connection errors.
APIKeyFunc returns a default key function for ratelimiting on our API key header.
IPAddressKeyFunc uses the client IP to rate limit.
NewMiddleware creates a new middleware suitable for use as an HTTP handler.
UserIDKeyFunc pulls the user out of the request context and uses that to ratelimit.

# Structs

Middleware is a handler/mux that can wrap other middlware to implement HTTP rate limiting.

# Type aliases

Option is an option to the middleware.