Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom keys? #205

Open
RasmusN opened this issue Oct 20, 2022 · 1 comment
Open

Custom keys? #205

RasmusN opened this issue Oct 20, 2022 · 1 comment

Comments

@RasmusN
Copy link

RasmusN commented Oct 20, 2022

Is it possible to have other keys than IP-addresses? I want to make rate limit middle-wares for both IP and other properties.

Something like this library has where you provide a key-function to the Limiter
https://github.com/JGLTechnologies/gin-rate-limit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants