#1 go-limiter
Package limiter defines rate limiting systems.
Package flowrate provides the tools for monitoring and limiting the flow rate of an arbitrary data stream.
Health score 64/100, confidence 95/100.
| Latest version | v0.0.0-20140419014527-cca7078d478f |
| Imported by | 146 packages |
| Stars | 96 |
| Forks | 16 |
| Last activity | 9 years ago |
| Latest release | Unknown |
| License | BSD-3-Clause |
| Known vuln records | 0 |
| Symbol | Kind | Synopsis |
|---|---|---|
| Limiter | Type | type Limiter interface{ ... } |
| Limiter.Done | Method | Done func() int64 |
| Limiter.SetBlocking | Method | SetBlocking func(new bool) (old bool) |
| Limiter.SetLimit | Method | SetLimit func(new int64) (old int64) |
| Limiter.SetTransferSize | Method | SetTransferSize func(bytes int64) |
| Limiter.Status | Method | Status func() Status |
| Monitor | Type | type Monitor struct{} |
| Monitor.Done | Method | func (m *Monitor) Done() int64 |
| Monitor.IO | Method | func (m *Monitor) IO(n int, err error) (int, error) |
| Monitor.Limit | Method | func (m *Monitor) Limit(want int, rate int64, block bool) (n int) |
| Monitor.SetTransferSize | Method | func (m *Monitor) SetTransferSize(bytes int64) |
| Monitor.Status | Method | func (m *Monitor) Status() Status |
Package limiter defines rate limiting systems.
net/http rate limiter middleware
Package httprl provides a rate limiter for http servers.
Dead simple rate limit middleware for Go.
Package caddywaf implements a Web Application Firewall (WAF) middleware for Caddy.
A Go blocking leaky-bucket rate limit implementation
Package limiter defines rate limiting systems.
net/http rate limiter middleware
Package httprl provides a rate limiter for http servers.
Dead simple rate limit middleware for Go.
Package caddywaf implements a Web Application Firewall (WAF) middleware for Caddy.