github.com/go-redis/redis_rate/v10

v10

Rate limiting for go-redis

94

Decision Signals

Health score 94/100, confidence 95/100.

Excellent
Maintenance 90
Adoption 100
Security 92
Maturity 100
Developer DX 83
Confidence 95

Install

go get github.com/go-redis/redis_rate/v10

Package Data

updated May 28, 2026
Latest versionv10.0.1
Imported by130 packages
Stars1.0K
Forks107
Last activity23 days ago
Latest releaseUnknown
LicenseBSD-2-Clause
Known vuln records0

API Surface

21 symbols
SymbolKindSynopsis
Limit Type type Limit struct{ ... }
Limit.Burst Field Burst int
Limit.IsZero Method func (l Limit) IsZero() bool
Limit.Period Field Period time.Duration
Limit.Rate Field Rate int
Limit.String Method func (l Limit) String() string
PerHour Function func PerHour(rate int) Limit
PerMinute Function func PerMinute(rate int) Limit
PerSecond Function func PerSecond(rate int) Limit
Limiter Type type Limiter struct{}
Limiter.Allow Method func (l Limiter) Allow(ctx context.Context, key string, limit Limit) (*Result, error)
Limiter.AllowAtMost Method func (l Limiter) AllowAtMost(ctx context.Context, key string, limit Limit, n int) (*Result, error)

Similar Packages

Go Redis Clients

#1 JuiceFS

JuiceFS is a distributed POSIX file system built on top of Redis and S3.

Go Redis Clients 13.6K stars 0 imported-by 100% confidence
94

#2 go-redis

Package redis implements a Redis client.

Go Redis Clients 22.1K stars 17.4K imported-by 65% confidence
93

#3 redis

Package redis provides a client for the redis cache server.

Go Redis Clients 0 stars 102 imported-by 75% confidence
69

#4 go-rejson

Go-ReJSON is a Go client for ReJSON redis module (https://github.com/RedisLabsModules/rejson)

Go Redis Clients 0 stars 57 imported-by 80% confidence
48

#5 Centrifugo

Scalable real-time messaging server in a language-agnostic way. Self-hosted alternative to Pubnub, Pusher, Ably, socket.io, Phoenix.PubSub, SignalR. Set up once and forever.

Go Redis Clients 0 stars 0 imported-by 45% confidence
45