Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ScheduleHandlers = map[string]process.Handler{
"start": processScheduleStart,
"stop": processScheduleStop,
}
ScheduleHandlers chedule process handlers
View Source
var Schedules = map[string]*Schedule{}
Schedules the registered schedules
Functions ¶
This section is empty.
Types ¶
type Schedule ¶
type Schedule struct { Name string `json:"name"` Process string `json:"process,omitempty"` Schedule string `json:"schedule"` TaskName string `json:"task,omitempty"` Args []interface{} `json:"args,omitempty"` Enabled bool // contains filtered or unexported fields }
Schedule the schedule struct
Click to show internal directories.
Click to hide internal directories.