Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB interface { ListFeeds(page, limit int) (*app.FeedCollection, error) ExistsFeed(url string) bool GetFeed(id string) (*app.Feed, error) DeleteFeed(id string) (*app.Feed, error) SaveFeed(feed *app.Feed) error ForEachFeed(cb func(*app.Feed) error) error GetFromCache(key string) (*model.CacheItem, error) StoreToCache(key string, item *model.CacheItem) error ClearCache() error EvictFromCache(before time.Time) error Shutdown() error }
DB is the data store
Click to show internal directories.
Click to hide internal directories.