Documentation ¶
Index ¶
- type Service
- func (s *Service) ArticleFeed(c context.Context, mid int64, pn, ps int) (res []*artmdl.Meta, err error)
- func (s *Service) ArticleUnreadCount(c context.Context, mid int64) (count int, err error)
- func (s *Service) Close()
- func (s *Service) Feed(c context.Context, mid int64, pn, ps int) (res []*model.Feed, err error)
- func (s *Service) Ping(c context.Context) (err error)
- func (s *Service) UnreadCount(c context.Context, mid int64) (count 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 service struct info
func (*Service) ArticleFeed ¶
func (s *Service) ArticleFeed(c context.Context, mid int64, pn, ps int) (res []*artmdl.Meta, err error)
ArticleFeed get feed of ups and bangumi.
func (*Service) ArticleUnreadCount ¶
ArticleUnreadCount get unread count of feed
Click to show internal directories.
Click to hide internal directories.