Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchRefreshChannels ¶
func FetchRefreshChannels()
func LoadAllEntry ¶
func LoadAllEntry()
func RefreshCategory ¶
func RefreshCategory()
func RefreshChannel ¶
func RefreshChannel()
func Unsubscribe ¶
func Unsubscribe()
Types ¶
type EntryOperator ¶
type EntryOperator interface { Save([]Entry) error Save2([]Entry) ([]Entry, error) SaveOne(Entry) (interface{}, error) TopN(skip, limit int) ([]Entry, error) TopNByCategory(skip, limit int, category string) ([]Entry, error) TopNByFeed(skip, limit int, feed string) ([]Entry, error) MarkRead(link string, readed bool) error SetContent(link string, filepath string, words int, imgs []string) error }
func NewEntryOperator ¶
func NewEntryOperator() EntryOperator
type FeedOperator ¶
type FeedOperator interface { Save(feeds []Feed) error Save2(feeds []Feed) ([]Feed, error) Upsert(f *Feed) error Find(uri string) (*Feed, error) TimeoutFeeds() ([]Feed, error) AllFeeds() ([]Feed, error) Touch(uri string, ttl int) error Remove(link string) error Disable(link string, dis bool) error Update(f *Feed) error }
func NewFeedOperator ¶
func NewFeedOperator() FeedOperator
Click to show internal directories.
Click to hide internal directories.