Versions in this module Expand all Collapse all v0 v0.0.6 Jul 21, 2025 Changes in this version + type CounterEvent struct + Delta float64 + Key string + Prefix string + type CounterWorker struct + func NewCounterWorker(redis redis.UniversalClient, flushEvery time.Duration, threshold float64, ...) *CounterWorker + func (cw *CounterWorker) FlushNow(prefix string, ctx context.Context) error + func (cw *CounterWorker) GetInterval() time.Duration + func (cw *CounterWorker) Increment(prefix, key string, delta float64) + func (cw *CounterWorker) Start(ctx context.Context) + func (cw *CounterWorker) Stop()