Repository navigation
v1.0.0 is the first stable release of gin-limiter, a high-performance rate-limiting middleware for the Gin web framework.
Highlights
- Redis-backed with an atomic Lua script (single round-trip)
- Per-IP / per-endpoint / per-API-key limiting via pluggable key function
- Standard X-RateLimit-* headers + customisable 429 handler
- Zero external dependencies beyond github.com/redis/go-redis/v9