Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parameters ¶
Parameters are used to configure a task.
type RecurringTask ¶
type RecurringTask struct {
Name string
// contains filtered or unexported fields
}
RecurringTask represents an asychronous repeating task.
func (*RecurringTask) Start ¶
func (t *RecurringTask) Start(interval time.Duration)
Start starts the task in the background, running it at the defined interval.
func (*RecurringTask) Trigger ¶
func (t *RecurringTask) Trigger()
Trigger triggers the task manually.
Click to show internal directories.
Click to hide internal directories.