tag

package
v0.0.0-...-83adff0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

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
}

func New

func New(c *conf.Config) (s *Service)

New a region service.

func (*Service) TagDefault

func (s *Service) TagDefault(c context.Context, plat int8, tid, mid, ctime int64, pull bool, build int, buvid string, now time.Time) (is []*feed.Item, ctop, cbottom xtime.Time, err error)

func (*Service) TagDetail

func (s *Service) TagDetail(c context.Context, plat int8, mid, tid int64, now time.Time) (t *tag.Tag, similar []*tag.SimilarTag, err error)

func (*Service) TagDynamic

func (s *Service) TagDynamic(c context.Context, plat int8, build, rid, reid int, tid, mid int64, mobiApp, buvid, device string, now time.Time, tagtab bool) (res *region.Show)

TagDynamic Tag region dynamic

func (*Service) TagDynamicList

func (s *Service) TagDynamicList(c context.Context, plat int8, build, rid, reid int, tid int64, pull bool, ctime, mid int64,
	mobiApp, buvid, device, tagName string, now time.Time) (res *region.Show)

TagDynamicList dynamic childList show

func (*Service) TagIDByName

func (s *Service) TagIDByName(c context.Context, tname string) (tid int64, err error)

TagIDByName

func (*Service) TagNameByID

func (s *Service) TagNameByID(c context.Context, tid int64) (tagName string, err error)

TagNameByID

func (*Service) TagNew

func (s *Service) TagNew(c context.Context, plat int8, tid int64, pn, ps int, now time.Time) (is []*feed.Item, err error)

func (*Service) TagRankList

func (s *Service) TagRankList(c context.Context, plat int8, build, reid int, tid int64, pn, ps int, order, mobiApp string) (res []*region.ShowItem)

TagRankList tag list rank

func (*Service) TagTab

func (s *Service) TagTab(c context.Context, rid int, tid, mid int64, now time.Time) (res *region.TagTab)

TagTab

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL