github.com/ulule/limiter

Limiter

Dead simple rate limit middleware for Go.

52

Decision Signals

Health score 52/100, confidence 80/100.

Caution
Maintenance 15
Adoption 52
Security 92
Maturity 52
Developer DX 83
Confidence 80

Install

go get github.com/ulule/limiter

Package Data

updated Jun 11, 2026
Latest versionv2.2.2+incompatible
Imported by449 packages
Stars0
Forks0
Last activity7 years ago
Latest releaseUnknown
LicenseUnknown
Known vuln records0

API Surface

29 symbols
SymbolKindSynopsis
Context Type type Context struct{ ... }
Context.Limit Field Limit int64
Context.Reached Field Reached bool
Context.Remaining Field Remaining int64
Context.Reset Field Reset int64
Limiter Type type Limiter struct{ ... }
Limiter.Get Method func (limiter *Limiter) Get(ctx context.Context, key string) (Context, error)
Limiter.Peek Method func (limiter *Limiter) Peek(ctx context.Context, key string) (Context, error)
Limiter.Rate Field Rate Rate
Limiter.Store Field Store Store
New Function func New(store Store, rate Rate) *Limiter
Rate Type type Rate struct{ ... }

Maintained Alternatives

limited recent repository activity

#1 httprate

net/http rate limiter middleware

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

#2 go-limiter

Package limiter defines rate limiting systems.

Go Rate Limiting Libraries 0 stars 66 imported-by 75% confidence
63

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 go-limiter

Package limiter defines rate limiting systems.

Go Rate Limiting Libraries 0 stars 66 imported-by 75% confidence
63

#3 ratelimit

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