Documentation ¶
Index ¶
- type Dao
- func (d *Dao) AddRelatesCache(aid int64, rls []*view.Relate)
- func (d *Dao) Archive(c context.Context, aid int64) (a *api.Arc, err error)
- func (d *Dao) Archive3(c context.Context, aid int64) (a *api.Arc, err error)
- func (d *Dao) ArchiveCache(c context.Context, aid int64) (arc *arcmdl.Info, err error)
- func (d *Dao) Archives(c context.Context, aids []int64) (am map[int64]*api.Arc, err error)
- func (d *Dao) ArchivesWithPlayer(c context.Context, aids []int64, qn int, platform string, fnver, fnval int) (res map[int64]*archive.ArchiveWithPlayer, err error)
- func (d *Dao) Commercial(c context.Context, aid int64) (gameID int64, err error)
- func (d *Dao) Description(c context.Context, aid int64) (desc string, err error)
- func (d *Dao) NewRelateAids(c context.Context, aid, mid int64, build int, buvid, from string, plat int8) (rec []*view.NewRelateRec, userFeature, returnCode string, err error)
- func (d *Dao) Ping(c context.Context) (err error)
- func (d *Dao) PlayerInfos(c context.Context, cids []int64, qn int, platform string, fnver, fnval int) (pm map[uint32]*archive.BvcVideoItem, err error)
- func (d *Dao) Progress(c context.Context, aid, mid int64) (h *view.History, err error)
- func (d *Dao) RelateAids(c context.Context, aid int64) (aids []int64, err error)
- func (d *Dao) RelatesCache(c context.Context, aid int64) (rls []*view.Relate, err error)
- func (d *Dao) Stat(c context.Context, aid int64) (st *api.Stat, err error)
- func (d *Dao) UpCount2(c context.Context, mid int64) (cnt int, err error)
- func (d *Dao) View3(c context.Context, aid int64) (v *archive.View3, err error)
- func (d *Dao) ViewCache(c context.Context, aid int64) (vs *archive.View3, err error)
- func (d *Dao) ViewContributeCache(c context.Context, mid int64) (aids []int64, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
type Dao struct {
// contains filtered or unexported fields
}
Dao is archive dao.
func (*Dao) AddRelatesCache ¶
AddRelatesCache add relates
func (*Dao) ArchiveCache ¶
ArchiveCache is
func (*Dao) ArchivesWithPlayer ¶
func (d *Dao) 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 (*Dao) Commercial ¶
Commercial is
func (*Dao) Description ¶
Description get archive description by aid.
func (*Dao) NewRelateAids ¶
func (d *Dao) NewRelateAids(c context.Context, aid, mid int64, build int, buvid, from string, plat int8) (rec []*view.NewRelateRec, userFeature, returnCode string, err error)
NewRelateAids relate online recommend 在线实时推荐
func (*Dao) PlayerInfos ¶
func (d *Dao) PlayerInfos(c context.Context, cids []int64, qn int, platform string, fnver, fnval int) (pm map[uint32]*archive.BvcVideoItem, err error)
PlayerInfos cid with player info
func (*Dao) RelateAids ¶
RelateAids get relate by aid
func (*Dao) RelatesCache ¶
RelatesCache get relates.
Click to show internal directories.
Click to hide internal directories.