Documentation
¶
Index ¶
- type Dao
- func (d *Dao) DynamicHot(c context.Context) (list []*clive.DynamicHot, err error)
- func (d *Dao) Feed(c context.Context, mid int64, ak, ip string, now time.Time) (r *live.Feed, err error)
- func (d *Dao) Recommend(now time.Time) (r *live.Recommend, err error)
- func (d *Dao) TopicHots(c context.Context) (topics []*clive.TopicHot, 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 live dao
func (*Dao) DynamicHot ¶
DynamicHot get dynamic hot all
func (*Dao) Feed ¶
func (d *Dao) Feed(c context.Context, mid int64, ak, ip string, now time.Time) (r *live.Feed, err error)
Live feed
Click to show internal directories.
Click to hide internal directories.