Versions in this module Expand all Collapse all v0 v0.0.3 Sep 4, 2024 v0.0.2 Sep 4, 2024 Changes in this version + const ResizeOverTime + const ScheduleEventAdd + const ScheduleEventChange + const ScheduleEventRemove + const ScheduleEventResize + type CommonResize struct + CheckTime uint8 + TickerQueueIdleLimit int + func NewCommonResize(gap uint8) *CommonResize + func (r *CommonResize) Check(c, l int) bool + func (r *CommonResize) NewCap(l int) int + type Cron struct + func NewCron(h Resize, chgBuff int) *Cron + func (s *Cron) AddFunc(name string, sch schedule.Interface, cmd ScheduleRun) + func (s *Cron) AddJob(name string, sch schedule.Interface, cmd Job) + func (s *Cron) AddScheduleJob(name string, cmd ScheduleJob) + func (s *Cron) Entries() entries + func (s *Cron) Entry(name string) *entry + func (s *Cron) Job(name string) ScheduleJob + func (s *Cron) Remove(name string) + func (s *Cron) Resize() + func (s *Cron) ResizeMap() + func (s *Cron) Start() + func (s *Cron) Stop() + type Job interface + Destroy func() + Init func() + Run func(time.Time) + type Resize interface + Check func(maxCap, len int) bool + NewCap func(len int) int + type ScheduleJob interface + type ScheduleRun func(t time.Time) + type WrapJob ScheduleRun + func (f WrapJob) Destroy() + func (f WrapJob) Init() + func (f WrapJob) Run(t time.Time) + type WrapScheduleJob struct