Documentation ¶
Index ¶
- type Dao
- func (d *Dao) HasLike(c context.Context, mid int64, business string, messageIDs []int64) (res map[int64]int8, err error)
- func (d *Dao) Like(c context.Context, mid, upMid int64, business string, messageID int64, ...) (err error)
- func (d *Dao) LikeWithStat(c context.Context, mid, upMid int64, business string, messageID int64, ...) (stat *thumbup.Stats, err error)
- func (d *Dao) Stat(c context.Context, mid int64, business string, messageIDs []int64) (res map[int64]*thumbup.Stats, 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 tag dao
func (*Dao) HasLike ¶
func (d *Dao) HasLike(c context.Context, mid int64, business string, messageIDs []int64) (res map[int64]int8, err error)
HasLike user has like
func (*Dao) Like ¶
func (d *Dao) Like(c context.Context, mid, upMid int64, business string, messageID int64, typ int8) (err error)
Like is like view.
Click to show internal directories.
Click to hide internal directories.