Documentation ¶
Index ¶
- type Dao
- func (d *Dao) AddRcmmndCache(c context.Context, mid string, aids ...int64) (err error)
- func (d *Dao) Close() (err error)
- func (d *Dao) ExistRcmmndCache(c context.Context, mid string) (exist bool, err error)
- func (d *Dao) Heads(ctx context.Context) (heads map[int8][]*show.Head, err error)
- func (d *Dao) Items(ctx context.Context) (items map[int][]*show.Item, err error)
- func (d *Dao) Ping(c context.Context) (err error)
- func (d *Dao) PopRcmmndCache(c context.Context, mid string, cnt int) (aids []int64, err error)
- func (d *Dao) TempHeads(ctx context.Context) (heads map[int8][]*show.Head, err error)
- func (d *Dao) TempItems(ctx context.Context) (items map[int][]*show.Item, 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) AddRcmmndCache ¶
AddRcmmndCache add recommend cache.
func (*Dao) ExistRcmmndCache ¶
ExistRcmmndCache check recommend cache exists.
func (*Dao) PopRcmmndCache ¶
PopRcmmndCache pop recommend cache.
Click to show internal directories.
Click to hide internal directories.