Documentation ¶
Index ¶
- type Timer
- func (t *Timer) AddTaskByFunc(taskName string, spec string, task func()) (cron.EntryID, error)
- func (t *Timer) AddTaskByJob(taskName string, spec string, job interface{ ... }) (cron.EntryID, error)
- func (t *Timer) Clear(taskName string)
- func (t *Timer) Close()
- func (t *Timer) FindCron(taskName string) (*cron.Cron, bool)
- func (t *Timer) Remove(taskName string, id int)
- func (t *Timer) StartTask(taskName string)
- func (t *Timer) StopTask(taskName string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.