feed

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: 38 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
}

Service is show service.

func New

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

New new a show service.

func (*Service) ArchivesWithPlayer

func (s *Service) ArchivesWithPlayer(c context.Context, aids []int64, qn int, platform string, fnver, fnval int) (res map[int64]*archive.ArchiveWithPlayer, err error)

ArchivesWithPlayer archives witch player

func (*Service) BlackList

func (s *Service) BlackList(c context.Context, mid int64) (aidm map[int64]struct{}, err error)

BlackList is.

func (*Service) Index

func (s *Service) Index(c context.Context, buvid string, mid int64, plat int8, param *feed.IndexParam, now time.Time, style int) (is []card.Handler, userFeature json.RawMessage, isRcmd, newUser bool, code int, autoPlay, clean int8, autoPlayInfoc string, err error)

Index is.

func (*Service) IndexInfoc

func (s *Service) IndexInfoc(c context.Context, mid int64, plat int8, build int, buvid, disid, api string, userFeature json.RawMessage, style, code int, items []*ai.Item, isRcmd, pull, newUser bool, now time.Time, adResponse, deviceID, network string, flush int, autoPlay string, deviceType int)

IndexInfoc is.

func (*Service) RankCard

func (s *Service) RankCard(plat int8) (ranks []*rank.Rank, aids []int64)

RankCard is.

Jump to

Keyboard shortcuts

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