Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PollSensors ¶
PollSensors is a helper function that will call the passed `updater()` function around each `interval` duration within the `stdev` duration window. Effectively, `updater()` will get called sometime near `interval`, but not exactly on it. This can help avoid a "thundering herd" problem of sensors all trying to update at the same time.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.