Versions in this module Expand all Collapse all v1 v1.5.4 Oct 26, 2023 Changes in this version + func GetDefaultInterval(interval time.Duration) time.Duration + func StartTask(taskName string, taskValues model.TaskValues, ...) + type ServiceEventHandler struct + TaskValues model.TaskValues + func (s *ServiceEventHandler) OnServiceAdded(event *common.PluginEvent) error + func (s *ServiceEventHandler) OnServiceDeleted(event *common.PluginEvent) error + type TaskItem struct + type TaskRoutine interface + Destroy func() + Schedule func() (chan<- *model.PriorityTask, model.TaskValues) + func NewTaskRoutine(periodicTask *model.PeriodicTask) TaskRoutine