Top 5.8% dependent packages on proxy.golang.org
Top 4.8% dependent repos on proxy.golang.org
Top 8.9% forks on proxy.golang.org
proxy.golang.org : github.com/andrewstuart/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/github.com/andrewstuart/limio
Keywords:
golang
, rate
, rate-limiting
, reader
License: MIT
Latest release: almost 7 years ago
First release: almost 7 years ago
Namespace: github.com/andrewstuart
Dependent packages: 1
Dependent repositories: 1
Stars: 52 on GitHub
Forks: 4 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 3 months ago