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 29, 2026
Latest versionv10.0.1
Imported by130 packages
Stars1.0K
Forks107
Last activity24 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 go-redis

Package redis implements a Redis client.

Go Redis Clients 22.1K stars 17.4K imported-by 100% confidence
96

#2 v8

Package redis implements a Redis client.

Go Redis Clients 22.1K stars 14.5K imported-by 95% confidence
96

#3 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

#4 rueidis

Package rueidis is a fast Golang Redis RESP3 client that does auto pipelining and supports client side caching.

Go Redis Clients 2.9K stars 366 imported-by 95% confidence
94

#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 10.3K stars 0 imported-by 65% confidence
89