Documentation
¶
Index ¶
Constants ¶
View Source
const ( NotificationsMqttPath = "notifications" EventsMqttPath = "events" QosAtMostOnce = 0 QosAtLeastOnce = 1 QosExactlyOnce = 2 )
Variables ¶
View Source
var (
ErrRoutineNotFound = errors.New("routine not found")
)
Functions ¶
This section is empty.
Types ¶
type Scheduler ¶
Scheduler holds the routines and their triggers. When a trigger event is raised
func NewScheduler ¶
func (*Scheduler) Run ¶
Run will periodically check at the specified interval rate if actions should run. Let's say interval is 10 seconds, this means that every 10 seconds we'll check if an action should run.
func (*Scheduler) UpdateRoutines ¶
Click to show internal directories.
Click to hide internal directories.