clientproto

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConnectPush added in v0.16.0

func NewConnectPush(data protocol.Raw) *protocol.Push

NewConnPush returns initialized async connect message.

func NewDisconnectPush added in v0.16.0

func NewDisconnectPush(data protocol.Raw) *protocol.Push

NewDisconnectPush returns initialized async disconnect message.

func NewJoinPush

func NewJoinPush(ch string, data protocol.Raw) *protocol.Push

NewJoinPush returns initialized async join message.

func NewLeavePush

func NewLeavePush(ch string, data protocol.Raw) *protocol.Push

NewLeavePush returns initialized async leave message.

func NewMessagePush

func NewMessagePush(data protocol.Raw) *protocol.Push

NewMessagePush returns initialized async push message.

func NewPublicationPush

func NewPublicationPush(ch string, data protocol.Raw) *protocol.Push

NewPublicationPush returns initialized async publication message.

func NewRefreshPush added in v0.18.0

func NewRefreshPush(data protocol.Raw) *protocol.Push

NewRefreshPush returns initialized async refresh message.

func NewSubscribePush added in v0.16.0

func NewSubscribePush(ch string, data protocol.Raw) *protocol.Push

NewSubscribePush returns initialized async subscribe message.

func NewUnsubscribePush added in v0.16.0

func NewUnsubscribePush(ch string, data protocol.Raw) *protocol.Push

NewUnsubscribePush returns initialized async unsubscribe message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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