How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.
Simple middleware to rate-limit HTTP requests.
The main features of didip/tollbooth are: HTTP Middleware.
Projects with overlapping indexed features include: throttled/throttled — Throttled is a Go library and middleware package for enforcing rate quotas and request thresholds on HTTP endpoints.… codemodus/catena. codemodus/chain. github/go-fault. go-on/wrap. carbocation/interpose.
Throttled is a Go library and middleware package for enforcing rate quotas and request thresholds on HTTP endpoints. It provides tools for tracking web request rates over specific time windows to control access frequency and manage traffic spikes. The core request evaluation relies on a token-bucket algorithm with sliding counters backed by fast memory stores, supplemented by pluggable storage backends for state persistence. Incoming requests are identified and grouped using flexible visitor-key parsers based on IP addresses, API keys, or custom parameters. The package integrates directly w