Documentation ¶
Index ¶
- type Dao
- func (d *Dao) ActSubject(c context.Context, sid int64) (rp *model.ActSubject, err error)
- func (d *Dao) AddTags(c context.Context, tags string, ip string) (err error)
- func (d *Dao) BatchLike(c context.Context, item *model.Like, wids []int64, ipv6 []byte) (err error)
- func (d *Dao) Close()
- func (d *Dao) GetLikeContent(c context.Context, ids []int64) (outRes map[int64]*model.LikeContent, err error)
- func (d *Dao) Musics(c context.Context, aids []int64, ip string) (music *model.MusicRes, err error)
- func (d *Dao) Ping(c context.Context) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
Dao struct user of Dao.
func (*Dao) ActSubject ¶
ActSubject get likesubject from db.
func (*Dao) GetLikeContent ¶
func (d *Dao) GetLikeContent(c context.Context, ids []int64) (outRes map[int64]*model.LikeContent, err error)
GetLikeContent .
Click to show internal directories.
Click to hide internal directories.