Documentation
¶
Index ¶
- type Dao
- func (d *Dao) AddFollowModeListCache(c context.Context, list map[int64]struct{}) (err error)
- func (d *Dao) AddPositionCache(c context.Context, mid int64, pos int) (err error)
- func (d *Dao) AddRcmdAidsCache(c context.Context, aids []int64) (err error)
- func (d *Dao) AddRcmdCache(c context.Context, is []*ai.Item) (err error)
- func (d *Dao) Close()
- func (d *Dao) FollowModeList(c context.Context) (list map[int64]struct{}, err error)
- func (d *Dao) FollowModeListCache(c context.Context) (list map[int64]struct{}, err error)
- func (d *Dao) Group(c context.Context) (gm map[int64]int, err error)
- func (d *Dao) Hots(c context.Context) (aids []int64, err error)
- func (d *Dao) PositionCache(c context.Context, mid int64) (pos int, err error)
- func (d *Dao) PubDislike(c context.Context, buvid, gt string, ...) (err error)
- func (d *Dao) PubDislikeCancel(c context.Context, buvid, gt string, ...) (err error)
- func (d *Dao) RcmdAidsCache(c context.Context) (aids []int64, err error)
- func (d *Dao) RcmdCache(c context.Context) (is []*ai.Item, err error)
- func (d *Dao) Recommend(c context.Context, plat int8, buvid string, mid int64, ...) (rs []*ai.Item, userFeature json.RawMessage, respCode int, newUser bool, ...)
- func (d *Dao) TagTop(c context.Context, mid, tid int64, rn int) (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 show dao.
func (*Dao) AddFollowModeListCache ¶
AddFollowModeListCache is.
func (*Dao) AddPositionCache ¶
func (*Dao) AddRcmdAidsCache ¶
AddRcmdCache add ai into cahce.
func (*Dao) AddRcmdCache ¶
AddRcmdCache add ai into cahce.
func (*Dao) FollowModeList ¶
FollowModeList is.
func (*Dao) FollowModeListCache ¶
FollowModeListCache is.
func (*Dao) PositionCache ¶
func (*Dao) PubDislike ¶
func (d *Dao) PubDislike(c context.Context, buvid, gt string, id, mid, reasonID, cmreasonID, feedbackID, upperID, rid, tagID int64, adcb string, now time.Time) (err error)
PubDislike is.
func (*Dao) PubDislikeCancel ¶
func (d *Dao) PubDislikeCancel(c context.Context, buvid, gt string, id, mid, reasonID, cmreasonID, feedbackID, upperID, rid, tagID int64, adcb string, now time.Time) (err error)
PubDislikeCancel is.
func (*Dao) RcmdAidsCache ¶
RcmdCache get ai cache data from cache
func (*Dao) Recommend ¶
func (d *Dao) Recommend(c context.Context, plat int8, buvid string, mid int64, build, loginEvent, parentMode, recsysMode int, zoneID int64, group int, interest, network string, style int, column model.ColumnStatus, flush int, autoplay string, now time.Time) (rs []*ai.Item, userFeature json.RawMessage, respCode int, newUser bool, err error)
Recommend is.
Click to show internal directories.
Click to hide internal directories.