Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RSSProvider ¶
RSSProvider provides functionality for retrieving RSS feeds
func NewRSSProvider ¶
func NewRSSProvider(label, feedURL string, pollFrequency time.Duration) (*RSSProvider, error)
NewRSSProvider returns a new instance of RSSProvider
func (*RSSProvider) Latest ¶
func (r *RSSProvider) Latest() ([]storage.Article, error)
Latest returns the latest items in the feed
func (*RSSProvider) PollingFrequency ¶
func (r *RSSProvider) PollingFrequency() time.Duration
PollingFrequency returns the amount of time to wait between calls to `Latest()`
Click to show internal directories.
Click to hide internal directories.