Documentation ¶
Index ¶
- func NewJoinPush(ch string, data protocol.Raw) *protocol.Push
- func NewLeavePush(ch string, data protocol.Raw) *protocol.Push
- func NewMessagePush(data protocol.Raw) *protocol.Push
- func NewPublicationPush(ch string, data protocol.Raw) *protocol.Push
- func NewSubPush(ch string, data protocol.Raw) *protocol.Push
- func NewUnsubPush(ch string, data protocol.Raw) *protocol.Push
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewJoinPush ¶
NewJoinPush returns initialized async join message.
func NewLeavePush ¶
NewLeavePush returns initialized async leave message.
func NewMessagePush ¶
NewMessagePush returns initialized async push message.
func NewPublicationPush ¶
NewPublicationPush returns initialized async publication message.
func NewSubPush ¶ added in v0.5.0
NewSubPush returns initialized async subscribe message.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.