Documentation
¶
Index ¶
- type Dao
- func (d *Dao) FeedDynamic(c context.Context, pull bool, rid, tid int, ctime, mid int64, now time.Time) (hotAids, newAids []int64, ctop, cbottom xtime.Time, err error)
- func (d *Dao) HotHeTongTabCard(c context.Context, i int) (list []*recommend.CardList, err error)
- func (d *Dao) HotTab(c context.Context) (list []*recommend.List, err error)
- func (d *Dao) HotTenTab(c context.Context, i int) (list []*recommend.List, err error)
- func (d *Dao) Hots(c context.Context) (arcids []int64, err error)
- func (d *Dao) RankAll(c context.Context, order string) (data []*recommend.Arc, err error)
- func (d *Dao) RankAppAll(c context.Context) (aids []int64, others, scores map[int64]int64, err error)
- func (d *Dao) RankAppBangumi(c context.Context) (aids []int64, others, scores map[int64]int64, err error)
- func (d *Dao) RankAppOrigin(c context.Context) (aids []int64, others, scores map[int64]int64, err error)
- func (d *Dao) RankAppRegion(c context.Context, rid int) (aids []int64, others, scores map[int64]int64, err error)
- func (d *Dao) RankBangumi(c context.Context) (data []*recommend.Arc, err error)
- func (d *Dao) RankRegion(c context.Context, rid int, order string) (data []*recommend.Arc, err error)
- func (d *Dao) Region(c context.Context, tid string) (arcids []int64, err error)
- func (d *Dao) RegionArcList(c context.Context, rid, pn, ps int, now time.Time) (arcids []int64, err error)
- func (d *Dao) RegionChildHots(c context.Context, rid int) (arcids []int64, err error)
- func (d *Dao) RegionHots(c context.Context, tid int) (arcids []int64, err error)
- func (d *Dao) RegionList(c context.Context, rid, tid, audit, pn, ps int, order string) (arcids []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 recommend dao.
func (*Dao) FeedDynamic ¶
func (d *Dao) FeedDynamic(c context.Context, pull bool, rid, tid int, ctime, mid int64, now time.Time) (hotAids, newAids []int64, ctop, cbottom xtime.Time, err error)
FeedDynamic
func (*Dao) HotHeTongTabCard ¶
HotHeTongTabCard hot tab card
func (*Dao) RankAppAll ¶
func (*Dao) RankAppBangumi ¶
func (*Dao) RankAppOrigin ¶
func (*Dao) RankAppRegion ¶
func (*Dao) RankBangumi ¶
RankAll
func (*Dao) RankRegion ¶
func (d *Dao) RankRegion(c context.Context, rid int, order string) (data []*recommend.Arc, err error)
RegionRank
func (*Dao) RegionArcList ¶
func (*Dao) RegionChildHots ¶
TwoRegionHots
func (*Dao) RegionHots ¶
RegionHots get hots recommend
Click to show internal directories.
Click to hide internal directories.