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

feat: Add rate limit #21

Merged
merged 3 commits into from
Apr 5, 2024
Merged

feat: Add rate limit #21

merged 3 commits into from
Apr 5, 2024

Conversation

ajnavarro
Copy link
Collaborator

Implement a simple rate-limiting feature, making it possible to limit requests by IP. It considers proxies, getting the real IP from headers if needed.

Signed-off-by: Antonio Navarro Perez <[email protected]>
@ajnavarro ajnavarro requested a review from a team as a code owner April 2, 2024 15:37
cmd/start.go Show resolved Hide resolved
Copy link
Member

@zivkovicmilos zivkovicmilos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 💯

@ajnavarro ajnavarro merged commit 0aeed85 into main Apr 5, 2024
3 checks passed
@ajnavarro ajnavarro deleted the feat/rate-limit branch April 5, 2024 10:18
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

Successfully merging this pull request may close these issues.

3 participants