impl

package
v0.0.35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2024 License: MIT Imports: 7 Imported by: 0

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
}

func NewMsg

func NewMsg(s *structs.AppCtx) *Msg

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL