Documentation ¶
Index ¶
- type Dao
- func (d *Dao) BuvidBan(c context.Context, id, mid int64, ip, buvid string) (ban bool)
- func (d *Dao) FolderStatMc(c context.Context, id int64) (f *favmdl.Folder, err error)
- func (d *Dao) IPBan(c context.Context, id int64, ip string) (ban bool)
- func (d *Dao) SetFolderStatMc(c context.Context, id int64, s *favmdl.Folder) (err error)
- func (d *Dao) Stat(c context.Context, oid int64) (f *favmdl.Folder, err error)
- func (d *Dao) UpdateFav(c context.Context, oid, count int64) (rows int64, err error)
- func (d *Dao) UpdatePlay(c context.Context, oid, count int64) (rows int64, err error)
- func (d *Dao) UpdateShare(c context.Context, oid, count int64) (rows 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 favorite dao.
func (*Dao) FolderStatMc ¶
FolderStatMc return one folder stat from mc.
func (*Dao) SetFolderStatMc ¶
SetFolderStatMc add folder stat mc cache.
func (*Dao) UpdatePlay ¶
UpdatePlay updates stat in db.
Click to show internal directories.
Click to hide internal directories.