Documentation ¶
Index ¶
- func NewMessage(payload any) (*message.Message, error)
- func NewPublisher() (message.Publisher, error)
- func NewRouter() (*message.Router, error)
- func NewSubscriber() (message.Subscriber, error)
- func PublishMessage(ctx context.Context, topic string, payload any) error
- func SendMessage(ctx context.Context, uid, topic string, msg types.MsgPayload) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPublisher ¶
func NewSubscriber ¶
func NewSubscriber() (message.Subscriber, error)
func SendMessage ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.