Documentation ¶
Index ¶
- type Schedule
- func (s *Schedule) AddByFunc(id string, spec string, f func(), init bool) error
- func (s *Schedule) AddByJob(id string, spec string, cmd cron.Job) error
- func (s *Schedule) Close()
- func (s *Schedule) IDs() []string
- func (s *Schedule) IsExists(jid string) bool
- func (s *Schedule) Remove(id string)
- func (s *Schedule) Start()
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.