Documentation ¶
Index ¶
- func Channel(name string) (channel, error)
- func GetMessageChannel(eventId uint32, channelPtr *byte) (error errno.Error)
- func GetMessageChannelSize(eventId uint32, channelSizePtr *uint32) (error errno.Error)
- func GetMessageData(eventId uint32, buf *byte) (error errno.Error)
- func GetMessageDataSize(eventId uint32, sizePtr *uint32) (error errno.Error)
- func GetWebSocketURL(channel string, socketURLPtr *byte) (error errno.Error)
- func GetWebSocketURLSize(channel string, sizePtr *uint32) (error errno.Error)
- func PublishToChannel(channel string, data *byte, dataSize uint32) (error errno.Error)
- func SetSubscriptionChannel(channel string) (error errno.Error)
- type PubSubEvent
- type PubSubEventMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMessageChannel ¶
func GetMessageChannelSize ¶
func GetMessageDataSize ¶
func GetWebSocketURLSize ¶
func PublishToChannel ¶
func SetSubscriptionChannel ¶
Types ¶
type PubSubEvent ¶
type PubSubEvent uint32
func (PubSubEvent) Channel ¶
func (e PubSubEvent) Channel() (*channel, error)
func (PubSubEvent) Data ¶
func (e PubSubEvent) Data() ([]byte, error)
type PubSubEventMessage ¶
type PubSubEventMessage uint32
Click to show internal directories.
Click to hide internal directories.