Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var JobRegistry = make(map[string]reflect.Type)
JobRegistry job registry
View Source
var ScheduleParser cron.Parser
ScheduleParser cron parser
View Source
var WorkerID string
WorkerID string
Functions ¶
This section is empty.
Types ¶
type AbstractJob ¶
AbstractJob for holding job and jobdata
type Cdule ¶
type Cdule struct { *WorkerWatcher *ScheduleWatcher }
Cdule holds watcher objects
func (*Cdule) NewCduleWithWorker ¶
NewCduleWithWorker to create new scheduler with worker
type ScheduleWatcher ¶
ScheduleWatcher struct
func (*ScheduleWatcher) Run ¶
func (t *ScheduleWatcher) Run()
Run to run watcher in a continuous loop
type WorkerJobCount ¶
WorkerJobCount struct
type WorkerWatcher ¶
WorkerWatcher struct
Click to show internal directories.
Click to hide internal directories.