Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scheduler ¶
type Scheduler struct {
// contains filtered or unexported fields
}
Scheduler keeps things rolling. More docs to come...
func NewScheduler ¶
NewScheduler create a Scheduler and returns a pointer to it.
func (*Scheduler) Cancel ¶
Cancel remove a Check from the scheduled queue. If the check is not in the scheduler, this is a noop.
func (*Scheduler) Enter ¶
Enter schedules a `Check`s for execution accordingly to the `Check.Interval()` value. If the interval is 0, the check is supposed to run only once.
Click to show internal directories.
Click to hide internal directories.