Documentation ¶
Overview ¶
Package tributary fetches a single feed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tributary ¶
type Tributary interface { // Name returns a unique name to refer to the tributary. Name() string // Feeds sets a channel that is used to send out the latest updates to the // tributary. Feeds(chan<- riverjs.Feed) // Events sets a channel that is used to send out events for the tributary. Events(chan<- events.Event) // Start polling for updates. Start() // Stop polling. Stop() }
A Tributary reports changes in a feed to the channels it is given.
Click to show internal directories.
Click to hide internal directories.