Ecosyste.ms: Packages

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

Top 6.2% on proxy.golang.org
Top 5.0% forks on proxy.golang.org

proxy.golang.org : astuart.co/limio

Package limio provides an interface for rate limiting as well as a rate-limited Reader implementation. In limio, there are two important interfaces for rate limiting. The first, Limiter, is more primitive. Most times, implementers of a Limiter should be creating a way to apply time constraints to a discretely quantifiable transaction. The other interface is a Manager, which will likely be implemented in many more cases, as it allows consumers to take any number of Limiters and apply a strategy to the group. Most importantly, a Manager will also need to implement the Limiter interface, allowing consumers to treat its encapsulated group of Limiters as a single Limiter, knowing the strategy will be applied within the given limits.

Registry - Source - Documentation - JSON
purl: pkg:golang/astuart.co/limio
Keywords: golang, rate, rate-limiting, reader
License: MIT
Latest release: over 5 years ago
First release: over 5 years ago
Namespace: astuart.co
Stars: 52 on GitHub
Forks: 4 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 8 days ago

    Loading...
    Readme
    Loading...