Versions in this module Expand all Collapse all v1 v1.1.0 Dec 2, 2025 Changes in this version + func GlobalLimiter(cfg Config) func(http.Handler) http.Handler + func IPLimiter(cfg Config) func(http.Handler) http.Handler + func WalletLimiter(cfg Config) func(http.Handler) http.Handler + type Config struct + GlobalBurst int + GlobalEnabled bool + GlobalLimit int + GlobalWindow time.Duration + Metrics *metrics.Metrics + PerIPBurst int + PerIPEnabled bool + PerIPLimit int + PerIPWindow time.Duration + PerWalletBurst int + PerWalletEnabled bool + PerWalletLimit int + PerWalletWindow time.Duration + func DefaultConfig() Config