Documentation
¶
Index ¶
- func NewConnectPush(data protocol.Raw) *protocol.Push
- func NewDisconnectPush(data protocol.Raw) *protocol.Push
- 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 NewRefreshPush(data protocol.Raw) *protocol.Push
- func NewSubscribePush(ch string, data protocol.Raw) *protocol.Push
- func NewUnsubscribePush(ch string, data protocol.Raw) *protocol.Push
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnectPush ¶ added in v0.16.0
NewConnPush returns initialized async connect message.
func NewDisconnectPush ¶ added in v0.16.0
NewDisconnectPush returns initialized async disconnect message.
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 NewRefreshPush ¶ added in v0.18.0
NewRefreshPush returns initialized async refresh message.
func NewSubscribePush ¶ added in v0.16.0
NewSubscribePush returns initialized async subscribe message.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.