-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Open
Labels
type/proposalGot an idea for a feature that Gin doesn't have currently? Submit your idea here!Got an idea for a feature that Gin doesn't have currently? Submit your idea here!
Description
Feature Description
Add an official rate limiting middleware API.
The middleware could:
• Support memory store (default) and Redis store (for distributed rate limiting)
• Provide hooks for custom key extraction (UserID, IP, etc.)
• Return structured JSON errors on 429 responses
• Export metrics (success/limited count) via Prometheus hooks
Metadata
Metadata
Assignees
Labels
type/proposalGot an idea for a feature that Gin doesn't have currently? Submit your idea here!Got an idea for a feature that Gin doesn't have currently? Submit your idea here!