Skip to content

feat: add rate limiting configuration and middleware support#82

Merged
soulteary merged 2 commits intomainfrom
docker-go-secure
Jan 6, 2026
Merged

feat: add rate limiting configuration and middleware support#82
soulteary merged 2 commits intomainfrom
docker-go-secure

Conversation

@soulteary
Copy link
Copy Markdown
Owner

No description provided.

- Introduced rate limiting settings in the application flags, including options for enabling rate limiting, requests per second (RPS), and burst size.
- Updated environment variable parsing to include rate limiting configurations.
- Enhanced CLI flag parsing to support rate limiting options.
- Implemented rate limiting middleware in the server launch process, allowing for dynamic rate limiting based on application flags.
- Enhanced the rate limiting middleware to better handle edge cases and improve performance.
- Updated error handling within the middleware to provide clearer feedback on rate limit violations.
- Refactored related tests to ensure comprehensive coverage of the new middleware behavior.
@soulteary soulteary merged commit 49d2723 into main Jan 6, 2026
2 checks passed
@soulteary soulteary deleted the docker-go-secure branch January 6, 2026 18:10
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.

1 participant