Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CronScheduler ¶
type CronScheduler struct {
// contains filtered or unexported fields
}
CronScheduler Implementation for Scheduler interface contains the needed properties
func (*CronScheduler) Add ¶
func (c *CronScheduler) Add(job *job.SchedulerJob) (jobID string, err error)
Add to register a job in the scheduler
func (*CronScheduler) Exists ¶
func (c *CronScheduler) Exists(jobName string) bool
Exists to verify if the job already registered
Click to show internal directories.
Click to hide internal directories.