Documentation ¶
Index ¶
- type Service
- func (s *Service) AddArc(c context.Context, arg *feedmdl.ArgArc) (err error)
- func (s *Service) AppFeed(c context.Context, arg *feedmdl.ArgFeed) (res []*feedmdl.Feed, err error)
- func (s *Service) AppUnreadCount(c context.Context, arg *feedmdl.ArgUnreadCount) (res int, err error)
- func (s *Service) ArchiveFeed(c context.Context, arg *feedmdl.ArgFeed) (res []*feedmdl.Feed, err error)
- func (s *Service) ArticleFeed(c context.Context, arg *feedmdl.ArgFeed) (res []*artmdl.Meta, err error)
- func (s *Service) ArticleUnreadCount(c context.Context, arg *feedmdl.ArgMid) (res int, err error)
- func (s *Service) BangumiFeed(c context.Context, arg *feedmdl.ArgFeed) (res []*feedmdl.Feed, err error)
- func (s *Service) ChangeArcUpper(c context.Context, arg *feedmdl.ArgChangeUpper) (err error)
- func (s *Service) DelArc(c context.Context, arg *feedmdl.ArgAidMid) (err error)
- func (s *Service) Fold(c context.Context, arg *feedmdl.ArgFold) (res []*feedmdl.Feed, err error)
- func (s *Service) PurgeFeedCache(c context.Context, arg *feedmdl.ArgMid) (err error)
- func (s *Service) WebFeed(c context.Context, arg *feedmdl.ArgFeed) (res []*feedmdl.Feed, err error)
- func (s *Service) WebUnreadCount(c context.Context, arg *feedmdl.ArgMid) (res int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service struct info.
func (*Service) AppUnreadCount ¶
func (s *Service) AppUnreadCount(c context.Context, arg *feedmdl.ArgUnreadCount) (res int, err error)
AppUnreadCount receive ArgUnreadCount contains mid, and withoutBangumi then return unread count.
func (*Service) ArchiveFeed ¶
func (s *Service) ArchiveFeed(c context.Context, arg *feedmdl.ArgFeed) (res []*feedmdl.Feed, err error)
ArchiveFeed receive ArgMid contains mid and real ip
func (*Service) ArticleFeed ¶
func (s *Service) ArticleFeed(c context.Context, arg *feedmdl.ArgFeed) (res []*artmdl.Meta, err error)
ArticleFeed receive ArgMid and return article feed.
func (*Service) ArticleUnreadCount ¶
ArticleUnreadCount return unread count of article feed.
func (*Service) BangumiFeed ¶
func (s *Service) BangumiFeed(c context.Context, arg *feedmdl.ArgFeed) (res []*feedmdl.Feed, err error)
BangumiFeed receive ArgMid contains mid and real ip
func (*Service) ChangeArcUpper ¶
ChangeArcUpper refresh feed cache when change archive's author
func (*Service) PurgeFeedCache ¶
PurgeFeedCache purge cache when attention/unattention upper
Click to show internal directories.
Click to hide internal directories.