Versions in this module Expand all Collapse all v0 v0.2.0 Jul 26, 2026 v0.1.0 Jul 4, 2026 Changes in this version + type Config struct + BindPort int + Burst float64 + DiscoverInterval time.Duration + Discoverer PeerDiscoverer + KeyTTL time.Duration + LogOutput io.Writer + Node nodeID + Rate float64 + SweepInterval time.Duration + SyncInterval time.Duration + type Limiter struct + func New(ctx context.Context, conf Config) (*Limiter, error) + func (l *Limiter) Allow(_ context.Context, k string) bool + func (l *Limiter) Close() + type PeerDiscoverer interface + Discover func(context.Context) ([]string, error) + func NewDNSDiscoverer(host, port string) PeerDiscoverer + func NewStaticDiscoverer(addrs ...string) PeerDiscoverer