Documentation ¶
Index ¶
- Variables
- type DB
- func (db *DB) AddFeed(host, feedURL string) (int, error)
- func (db *DB) AddItems(feedID int, items []Item) error
- func (db *DB) AllFeeds() ([]Feed, error)
- func (db *DB) Close() error
- func (db *DB) EditFeedHost(id int, newHost string) error
- func (db *DB) ItemCount() (int, error)
- func (db *DB) Newest(offset, limit uint) ([]ItemWithHost, error)
- func (db *DB) RemoveFeed(id int) error
- type Feed
- type Item
- type ItemWithHost
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFound = errors.New("feed already exists in the database")
Functions ¶
This section is empty.
Types ¶
type ItemWithHost ¶
Click to show internal directories.
Click to hide internal directories.