Versions in this module Expand all Collapse all v1 v1.0.3 Jan 10, 2022 v1.0.2 Jan 10, 2022 Changes in this version + func SetHour(hour int) (spec string) + func SetMinute(minute int) (spec string) + func SetSecond(second int) (spec string) + func SetSomeTimeOfGet(offset int, ams ...string) (spec string) + func SetTimeOfDay(minute, hour int) (spec string) + type MyTimer struct + func NewTimer() *MyTimer + func (t *MyTimer) AddJob(spec string, f ...cron.Job) (err error) + func (t *MyTimer) AddTask(spec string, f ...func()) (err error) + func (t *MyTimer) Start() + func (t *MyTimer) Stop()