Documentation
¶
Index ¶
- type Article
- type DB
- func (db *DB) AddFeed(url, title, description string) (int64, error)
- func (db *DB) AddFolder(name, color string) (int64, error)
- func (db *DB) DeleteFeed(id int64) error
- func (db *DB) DeleteFolder(id int64) error
- func (db *DB) GetFeed(id int64) (Feed, error)
- func (db *DB) ListArticles(feedID int64) ([]Article, error)
- func (db *DB) ListFeeds() ([]Feed, error)
- func (db *DB) ListFolders() ([]Folder, error)
- func (db *DB) ListRemoteFeedFolders() (map[int64]int64, error)
- func (db *DB) ListRemoteFeedPrefs() (map[int64]RemoteFeedPref, error)
- func (db *DB) ListUnreadArticles(feedID int64) ([]Article, error)
- func (db *DB) MarkAllRead(feedID int64) error
- func (db *DB) MarkRead(id int64, read bool) error
- func (db *DB) RenameFolder(id int64, name string) error
- func (db *DB) ReorderFolder(id int64, position int) error
- func (db *DB) SaveSummary(id int64, summary string) error
- func (db *DB) SetFeedFolder(feedID, folderID int64) error
- func (db *DB) SetFolderColor(id int64, color string) error
- func (db *DB) SetRemoteFeedFolder(remoteFeedID, folderID int64) error
- func (db *DB) SetRemoteFeedTitle(remoteFeedID int64, title string) error
- func (db *DB) TouchFeedFetched(id int64, lastFetched time.Time) error
- func (db *DB) UpdateArticleContent(id int64, content string) error
- func (db *DB) UpdateFeed(id int64, title, url string) error
- func (db *DB) UpdateFeedMeta(id int64, title, description, faviconURL string, lastFetched time.Time) error
- func (db *DB) UpdateFeedURL(id int64, url string) error
- func (db *DB) UpsertArticle(a Article) error
- type Feed
- type Folder
- type RemoteFeedPref
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
func (*DB) DeleteFeed ¶
func (*DB) DeleteFolder ¶
func (*DB) ListFolders ¶
func (*DB) ListRemoteFeedPrefs ¶
func (db *DB) ListRemoteFeedPrefs() (map[int64]RemoteFeedPref, error)
func (*DB) MarkAllRead ¶
func (*DB) SetFeedFolder ¶
func (*DB) SetRemoteFeedFolder ¶
func (*DB) SetRemoteFeedTitle ¶
func (*DB) UpdateArticleContent ¶
func (*DB) UpdateFeedMeta ¶
func (*DB) UpsertArticle ¶
type RemoteFeedPref ¶
Click to show internal directories.
Click to hide internal directories.