Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 9.0% on proxy.golang.org

proxy.golang.org : github.com/artyom/rated

Command rated implements standalone rate-limiting service with an HTTP interface. Its HTTP endpoint accepts requests with non-empty query string used as a key to check against a limited set of buckets to do token-based rate limiting. It treats the whole query as-is as a key, so queries "foo=1&bar=2" and "bar=2&foo=1" represent two distinct keys. It responds either with 204 if a request should be allowed, or 429 if it should be limited. Note that because of a limited amount of buckets in use collisions are expected. It is possible to apply custom per-key rate limits with "Burst" and "Refill" HTTP headers:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/artyom/rated
Keywords: http-server, rate-limiting
License: MIT
Latest release: almost 2 years ago
First release: over 4 years ago
Namespace: github.com/artyom
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 21 days ago

    Loading...
    Readme
    Loading...