Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNotifyCenter ¶
func NewNotifyCenter(s *structs.AppCtx) message.INotifyCenter
Types ¶
type Msg ¶
type Msg struct {
NotifyCenter message.INotifyCenter
}
type NotifyCenter ¶
type NotifyCenter struct {
// contains filtered or unexported fields
}
func (*NotifyCenter) Create ¶
func (n *NotifyCenter) Create(ctx context.Context, msg *structs.MessageBody) (int64, error)
func (*NotifyCenter) Update ¶
func (n *NotifyCenter) Update(ctx context.Context, msgID int64, msg *structs.MessageBody) error
Click to show internal directories.
Click to hide internal directories.