Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAlreadyStarted = errors.New("already started")
View Source
var ErrNoIPoller = errors.New("no IPoller object")
View Source
var ErrNoPollInterval = errors.New("no poll interval")
View Source
var ErrNotStarted = errors.New("not started")
Functions ¶
This section is empty.
Types ¶
type IPoller ¶
type IPoller interface { Poll() Reset() }
func MakeIPoller ¶
func MakeIPoller(f func()) IPoller
MakeIPoller takes a poll func and returns an IPoller object
Click to show internal directories.
Click to hide internal directories.