github.com/go-web/httprl

httprl

Package httprl provides a rate limiter for http servers.

78

Decision Signals

Health score 78/100, confidence 95/100.

Strong
Maintenance 83
Adoption 45
Security 92
Maturity 100
Developer DX 83
Confidence 95

Install

go get github.com/go-web/httprl

Package Data

updated May 29, 2026
Latest versionv1.0.0
Imported by56 packages
Stars5
Forks1
Last activity1 months ago
Latest releaseUnknown
LicenseNOASSERTION
Known vuln records0

API Surface

25 symbols
SymbolKindSynopsis
Backend Type type Backend interface{ ... }
Backend.Hit Method Hit func(key string, ttlsec int32) (count uint64, remttl int32, err error)
KeyMaker Type type KeyMaker func(r *http.Request) string
Map Type type Map struct{}
Map.Hit Method func (m *Map) Hit(key string, ttlsec int32) (count uint64, remttl int32, err error)
Map.Start Method func (m *Map) Start()
Map.Stop Method func (m *Map) Stop()
NewMap Function func NewMap(precision int32) *Map
Policy Type type Policy int
AllowPolicy Constant const AllowPolicy
BlockPolicy Constant const BlockPolicy
RateLimiter Type type RateLimiter struct{ ... }

Similar Packages

Go Rate Limiting Libraries

#1 go-limiter

Package limiter defines rate limiting systems.

Go Rate Limiting Libraries 716 stars 66 imported-by 95% confidence
84

#2 httprate

net/http rate limiter middleware

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

#3 v3

Dead simple rate limit middleware for Go.

Go Rate Limiting Libraries 2.3K stars 341 imported-by 95% confidence
77

#4 caddy-waf

Package caddywaf implements a Web Application Firewall (WAF) middleware for Caddy.

Go Rate Limiting Libraries 774 stars 0 imported-by 75% confidence
77

#5 ratelimit

A Go blocking leaky-bucket rate limit implementation

Go Rate Limiting Libraries 4.7K stars 984 imported-by 75% confidence
71