Documentation ¶
Index ¶
- type Dao
- func (dao *Dao) AcceptReport(c context.Context, mid int64, title, msg string, now time.Time) (err error)
- func (dao *Dao) At(c context.Context, mid int64, mids []int64, title, msg, extraInfo string, ...) (err error)
- func (dao *Dao) DeleteReply(c context.Context, mid int64, title, msg string, now time.Time) (err error)
- func (dao *Dao) Like(c context.Context, mid, tomid int64, title, msg, extraInfo string, ...) (err error)
- func (dao *Dao) Reply(c context.Context, mc, resID string, mid, tomid int64, ...) (err error)
- func (dao *Dao) System(c context.Context, mc, resID string, mid int64, title, msg, info string, ...) (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 message dao.
func NewMessageDao ¶
NewMessageDao new a message dao and return.
func (*Dao) AcceptReport ¶
func (dao *Dao) AcceptReport(c context.Context, mid int64, title, msg string, now time.Time) (err error)
AcceptReport send accept report message.
func (*Dao) At ¶
func (dao *Dao) At(c context.Context, mid int64, mids []int64, title, msg, extraInfo string, now time.Time) (err error)
At send a at message.
func (*Dao) DeleteReply ¶
func (dao *Dao) DeleteReply(c context.Context, mid int64, title, msg string, now time.Time) (err error)
DeleteReply send delete reply message.
func (*Dao) Like ¶
func (dao *Dao) Like(c context.Context, mid, tomid int64, title, msg, extraInfo string, now time.Time) (err error)
Like send a like message.
Click to show internal directories.
Click to hide internal directories.