Documentation ¶
Index ¶
- type Dao
- func (d *Dao) AddChannelCardCache(c context.Context, buvid, md5 string, channelID int64, now time.Time) (err error)
- func (d *Dao) Card(ctx context.Context, now time.Time) (res map[int64][]*card.Card, err error)
- func (d *Dao) CardPlat(ctx context.Context) (res map[string][]*card.CardPlat, err error)
- func (d *Dao) CardSet(ctx context.Context) (res map[int64]*operate.CardSet, err error)
- func (d *Dao) ChannelCardCache(c context.Context, buvid string, channelID int64) (md5 string, err error)
- func (d *Dao) PingDB(c context.Context) (err error)
- func (d *Dao) UpCard(ctx context.Context) (res map[int64]*operate.Follow, 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 card dao.
func (*Dao) AddChannelCardCache ¶
func (d *Dao) AddChannelCardCache(c context.Context, buvid, md5 string, channelID int64, now time.Time) (err error)
AddChannelCardCache add user buvid and cardID cache
Click to show internal directories.
Click to hide internal directories.