Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScheduledJob ¶
type ScheduledJob struct { ID string `json:"id"` Name string `json:"name"` Args map[string]string `json:"args"` NotificationEmails string `json:"notification_emails"` Time string `json:"time"` Tags string `json:"tags"` Group string `json:"group_name"` }
func FromStoreToHandler ¶
func FromStoreToHandler(scheduledJobsStoreFormat []postgres.JobsSchedule) ([]ScheduledJob, error)
func GetScheduledJob ¶
func GetScheduledJob(scheduledJobStoreFormat postgres.JobsSchedule) (ScheduledJob, error)
type Scheduler ¶
type Scheduler interface { Schedule() http.HandlerFunc GetScheduledJobs() http.HandlerFunc GetScheduledJob() http.HandlerFunc RemoveScheduledJob() http.HandlerFunc }
Click to show internal directories.
Click to hide internal directories.