Versions in this module Expand all Collapse all v0 v0.4.4 Nov 16, 2018 v0.4.3 Nov 16, 2018 v0.4.2 Nov 16, 2018 v0.4.1 Nov 16, 2018 Changes in this version + type DB struct + func NewDB() (*DB, error) + func (db *DB) AddItem(items map[string]string) + func (db *DB) AddPodcast(title, rssurl string) + func (db *DB) CatchUp(id int) + func (db *DB) FindAllPodcasts() (ids []int, titles []string) + func (db *DB) FindEpisodeTitleByURL(url string) (title string) + func (db *DB) FindEpisodesWithPodcastTitle() (map[string][]string, error) + func (db *DB) FindNewEpisodes() (urls []string, err error) + func (db *DB) FindPodcastPausedState(id int) (paused bool) + func (db *DB) FindPodcastTitle(id int) (title string) + func (db *DB) FindPodcastTitleByURL(url string) (title string) + func (db *DB) SetDownloadedByURL(url string) + func (db *DB) TogglePause(id int) (paused bool) + type Datastore interface + AddItem func(items map[string]string) + AddPodcast func(title, rssurl string) + CatchUp func(id int) + FindAllPodcasts func() (ids []int, titles []string) + FindEpisodeTitleByURL func(url string) (title string) + FindEpisodesWithPodcastTitle func() (map[string][]string, error) + FindNewEpisodes func() (urls []string, err error) + FindPodcastTitle func(id int) (title string) + FindPodcastTitleByURL func(url string) (title string) + SetDownloadedByURL func(url string) + TogglePause func(id int) (paused bool) + type Episode struct + Downloaded bool + EnclosureURL string + GUID string + ID int + PodcastID int + PubDate string + Title string + type Podcast struct + Episodes []Episode + ID int + Paused bool + RssURL string + Title string