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) Archives(c context.Context, aids []int64) (as map[int64]*api.Arc, 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, parentMode int, buvid, from string, ...) (rec []*view.NewRelateRec, userFeature, returnCode string, dalaoExp int, ...)
- func (d *Dao) Ping(c context.Context) (err error)
- func (d *Dao) PlayerInfos(c context.Context, cids []int64, qn, fnver, fnval, forceHost 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) Shot(c context.Context, aid, cid int64) (shot *archive.Videoshot, err error)
- func (d *Dao) Stat(c context.Context, aid int64) (st *api.Stat, err error)
- func (d *Dao) UpArcs3(c context.Context, mid int64, pn, ps int) (as []*api.Arc, 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)
- func (d *Dao) ViewRPC(c context.Context, aid int64) (v *archive.View3, err error)
- func (d *Dao) ViewsRPC(c context.Context, aids []int64) (avm map[int64]*archive.View3, 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) 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, parentMode int, buvid, from string, plat int8) (rec []*view.NewRelateRec, userFeature, returnCode string, dalaoExp int, err error)
NewRelateAids relate online recommend 在线实时推荐
func (*Dao) PlayerInfos ¶
func (d *Dao) PlayerInfos(c context.Context, cids []int64, qn, fnver, fnval, forceHost int, platform string) (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.
func (*Dao) ViewContributeCache ¶
ViewContributeCache get archive cache.
Click to show internal directories.
Click to hide internal directories.