Versions in this module Expand all Collapse all v0 v0.0.1 Jan 31, 2024 Changes in this version + type Next interface + Next func(time.Time) time.Time + type Option func(c *option) + func WithMinHeap() Option + func WithRbtree() Option + func WithSkipList() Option + func WithTimeWheel() Option + type Time struct + func (t *Time) Stop() + type TimeNoder interface + Stop func() + type Timer interface + AfterFunc func(expire time.Duration, callback func()) TimeNoder + CustomFunc func(n Next, callback func()) TimeNoder + Run func() + ScheduleFunc func(expire time.Duration, callback func()) TimeNoder + Stop func() + func NewTimer(opt ...Option) Timer