github.com/sethvargo/go-limiter

go-limiter

Package limiter defines rate limiting systems.

63

Decision Signals

Health score 63/100, confidence 75/100.

Review
Maintenance 63
Adoption 31
Security 92
Maturity 62
Developer DX 83
Confidence 75

Install

go get github.com/sethvargo/go-limiter

Package Data

updated Jun 11, 2026
Latest versionv1.1.0
Imported by66 packages
Stars0
Forks0
Last activity6 months ago
Latest releaseUnknown
LicenseUnknown
Known vuln records0

API Surface

7 symbols
SymbolKindSynopsis
Store Type type Store interface{ ... }
Store.Burst Method Burst func(ctx context.Context, key string, tokens uint64) error
Store.Close Method Close func(ctx context.Context) error
Store.Get Method Get func(ctx context.Context, key string) (tokens, remaining uint64, err error)
Store.Set Method Set func(ctx context.Context, key string, tokens uint64, interval time.Duration) error
Store.Take Method Take func(ctx context.Context, key string) (tokens, remaining, reset uint64, ok bool, err error)
ErrStopped Variable var ErrStopped = fmt.Errorf("store is stopped")

Similar Packages

Go Rate Limiting Libraries

#1 httprate

net/http rate limiter middleware

Go Rate Limiting Libraries 462 stars 256 imported-by 95% confidence
81

#2 Limiter

Dead simple rate limit middleware for Go.

Go Rate Limiting Libraries 0 stars 449 imported-by 80% confidence
52

#3 ratelimit

Go Rate Limiting Libraries 0 stars 0 imported-by 40% confidence
41