Documentation ¶
Index ¶
- Constants
- type 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) Start()
- func (s *Cron) Stop()
- type Job
- type Resize
- type ScheduleJob
- type ScheduleRun
- type WrapJob
- type WrapScheduleJob
Constants ¶
View Source
const ( ScheduleEventAdd = 1 ScheduleEventChange = 2 ScheduleEventRemove = 3 ScheduleEventResize = 4 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cron ¶
type Cron struct {
// contains filtered or unexported fields
}
func (*Cron) AddScheduleJob ¶
func (s *Cron) AddScheduleJob(name string, cmd ScheduleJob)
func (*Cron) Job ¶
func (s *Cron) Job(name string) ScheduleJob
type ScheduleJob ¶
type ScheduleRun ¶
type WrapJob ¶
type WrapJob ScheduleRun
type WrapScheduleJob ¶
Click to show internal directories.
Click to hide internal directories.