Versions in this module Expand all Collapse all v0 v0.1.1 Jan 20, 2026 v0.1.0 Jan 20, 2026 Changes in this version + type FuncJob func() + func (f FuncJob) Run() + type Job interface + Run func() + type Level struct + type ShardedWheel struct + func NewSharded(shardCount int, tick time.Duration, wheelSize, levelCount int) *ShardedWheel + func (sw *ShardedWheel) AddJobByInt(id int64, delay time.Duration, job Job) *Timer + func (sw *ShardedWheel) AddJobByString(key string, delay time.Duration, job Job) *Timer + func (sw *ShardedWheel) AddJobFuncByInt(id int64, delay time.Duration, f func()) *Timer + func (sw *ShardedWheel) AddJobFuncByString(key string, delay time.Duration, f func()) *Timer + func (sw *ShardedWheel) AddJobFuncRandom(delay time.Duration, f func()) *Timer + func (sw *ShardedWheel) AddJobRandom(delay time.Duration, job Job) *Timer + func (sw *ShardedWheel) Start() + func (sw *ShardedWheel) Stop() + type Timer struct + func (t *Timer) GetExpiration() int64 + func (t *Timer) Stop() + type Wheel struct + func New(tick time.Duration, wheelSize int, levelCount int) *Wheel + func (w *Wheel) AddJob(delay time.Duration, job Job) *Timer + func (w *Wheel) AddJobFunc(delay time.Duration, f func()) *Timer + func (w *Wheel) RemoveJob(t *Timer) + func (w *Wheel) Schedule(interval time.Duration, job Job) *Timer + func (w *Wheel) ScheduleFunc(interval time.Duration, f func()) *Timer + func (w *Wheel) Start() + func (w *Wheel) Stop()