Documentation ¶
Index ¶
- type Item
- type SQLiteStore
- func (sls SQLiteStore) DeleteByFeedURL(feedurl string, incFavourites bool) error
- func (sls SQLiteStore) GetAllFeedURLs() ([]string, error)
- func (sls SQLiteStore) GetAllItems() ([]Item, error)
- func (sls SQLiteStore) ToggleFavourite(ID int) error
- func (sls SQLiteStore) ToggleRead(ID int) error
- func (sls SQLiteStore) UpsertItem(item Item) error
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type SQLiteStore ¶
type SQLiteStore struct {
// contains filtered or unexported fields
}
func NewSQLiteStore ¶
func NewSQLiteStore(basePath string) (*SQLiteStore, error)
func (SQLiteStore) DeleteByFeedURL ¶
func (sls SQLiteStore) DeleteByFeedURL(feedurl string, incFavourites bool) error
func (SQLiteStore) GetAllFeedURLs ¶
func (sls SQLiteStore) GetAllFeedURLs() ([]string, error)
func (SQLiteStore) GetAllItems ¶
func (sls SQLiteStore) GetAllItems() ([]Item, error)
TODO: pagination
func (SQLiteStore) ToggleFavourite ¶ added in v2.1.5
func (sls SQLiteStore) ToggleFavourite(ID int) error
func (SQLiteStore) ToggleRead ¶
func (sls SQLiteStore) ToggleRead(ID int) error
func (SQLiteStore) UpsertItem ¶
func (sls SQLiteStore) UpsertItem(item Item) error
Click to show internal directories.
Click to hide internal directories.