Versions in this module Expand all Collapse all v1 v1.2.0 Feb 4, 2026 Changes in this version + const C_TIMER_TICK_INTERVAL + type ITimer interface + AddDailyTimer func(after0 time.Duration, handle TTimerHandFunc, opt ...*TimerOpt) + AddTimer func(d time.Duration, handle TTimerHandFunc, opt ...*TimerOpt) + CloseTimer func() + DelTimer func(handle TTimerHandFunc) + DelTimerByName func(name string) + StartTimer func(restorer ...ITimerRestorer) + func NewTimer(tickerInterval ...time.Duration) ITimer + type ITimerRestorer interface + Load func() map[string]int64 + Save func(key string, valAt int64) + type TTimerHandFunc func(now time.Time) (keep bool) + type TimerOpt struct + Name string + Right bool + Store bool