Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IndexHasChange ¶
IndexHasChange is used to check whether a returned blocking query has an updated index, compared to a tracked value.
Types ¶
type Watcher ¶
type Watcher interface { // Run is used to run the watcher loop. The input channel should be the channel where objects // are sent to be acted upon when they are determined to be new. Run(updateChan chan interface{}) }
Watcher is the interface to satisfy when creating a watcher to run blocking queries on an API and process updates as required.
Click to show internal directories.
Click to hide internal directories.