Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunEvery ¶
type RunEvery struct { // Any error returned from the function will be passed to this function. HandleError func(string, error) // If set, the function will be run immediately. RunImmediately bool // contains filtered or unexported fields }
RunEvery runs a function at intervals defined by the function itself. Functions can be added and removed while running.
Click to show internal directories.
Click to hide internal directories.