Documentation
¶
Index ¶
- type Service
- func (s *Service) AddContribute(c context.Context, vmid int64, attrs *space.Attrs, items []*space.Item) (err error)
- func (s *Service) Album(c context.Context, vmid int64, pos, size int) (res *space.AlbumList)
- func (s *Service) Bangumi(c context.Context, mid, vmid int64, setting *space.Setting, pn, ps int) (res *space.BangumiList)
- func (s *Service) Clip(c context.Context, vmid int64, pos, size int) (res *space.ClipList)
- func (s *Service) CoinArcs(c context.Context, mid, vmid int64, setting *space.Setting, pn, ps int) (res *space.ArcList)
- func (s *Service) Community(c context.Context, uid int64, pn, ps int, ak, platform string) (res *space.CommuList)
- func (s *Service) Contribute(c context.Context, plat int8, build int, vmid int64, pn, ps int, now time.Time) (res *space.Contributes, err error)
- func (s *Service) Contribution(c context.Context, plat int8, build int, vmid int64, cursor *model.Cursor, ...) (res *space.Contributes, err error)
- func (s *Service) LikeArcs(c context.Context, mid, vmid int64, setting *space.Setting, pn, ps int) (res *space.ArcList)
- func (s *Service) Ping(c context.Context) (err error)
- func (s *Service) Report(c context.Context, mid int64, reason, ak string) (err error)
- func (s *Service) Space(c context.Context, mid, vmid int64, plat int8, build int, pn, ps int, ...) (sp *space.Space, err error)
- func (s *Service) UpArcs(c context.Context, uid int64, pn, ps int, now time.Time) (res *space.ArcList)
- func (s *Service) UpArticles(c context.Context, uid int64, pn, ps int) (res *space.ArticleList)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { BlackList map[int64]struct{} // contains filtered or unexported fields }
Service is space service
func (*Service) AddContribute ¶
func (s *Service) AddContribute(c context.Context, vmid int64, attrs *space.Attrs, items []*space.Item) (err error)
AddContribute func
func (*Service) Bangumi ¶
func (s *Service) Bangumi(c context.Context, mid, vmid int64, setting *space.Setting, pn, ps int) (res *space.BangumiList)
Bangumi get concern season
func (*Service) CoinArcs ¶
func (s *Service) CoinArcs(c context.Context, mid, vmid int64, setting *space.Setting, pn, ps int) (res *space.ArcList)
CoinArcs get coin archives.
func (*Service) Community ¶
func (s *Service) Community(c context.Context, uid int64, pn, ps int, ak, platform string) (res *space.CommuList)
Community get community
func (*Service) Contribute ¶
func (s *Service) Contribute(c context.Context, plat int8, build int, vmid int64, pn, ps int, now time.Time) (res *space.Contributes, err error)
Contribute func
func (*Service) Contribution ¶
func (s *Service) Contribution(c context.Context, plat int8, build int, vmid int64, cursor *model.Cursor, now time.Time) (res *space.Contributes, err error)
Contribution func
func (*Service) LikeArcs ¶
func (s *Service) LikeArcs(c context.Context, mid, vmid int64, setting *space.Setting, pn, ps int) (res *space.ArcList)
LikeArcs get like archives.
func (*Service) Space ¶
func (s *Service) Space(c context.Context, mid, vmid int64, plat int8, build int, pn, ps int, platform, device, mobiApp, name string, now time.Time) (sp *space.Space, err error)
Space aggregation space data.
func (*Service) UpArcs ¶
func (s *Service) UpArcs(c context.Context, uid int64, pn, ps int, now time.Time) (res *space.ArcList)
UpArcs get upload archive .
func (*Service) UpArticles ¶
UpArticles get article.
Click to show internal directories.
Click to hide internal directories.