package
Version:
v0.8.0
Opens a new window with list of versions in this module.
Published: Jun 6, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package poller contains code that is in charge of periodically executing
a given function every x seconds, where x is a customizable parameter.
type Poller interface {
Start() error
SetPollFunction(fn)
}
Poller periodically executes a given function
New returns a new instance of a poller
Source Files
¶
Click to show internal directories.
Click to hide internal directories.