clientproto

package
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 NewSubPush

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

NewSubPush returns initialized async subscribe message.

func NewUnsubPush

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

NewUnsubPush 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