clientproto

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 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 added in v0.5.0

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

type ConnectResponse

type ConnectResponse struct {
	Error  *protocol.Error         `json:"error,omitempty"`
	Result *protocol.ConnectResult `json:"result,omitempty"`
}

ConnectResponse ...

type HistoryResponse

type HistoryResponse struct {
	Error  *protocol.Error         `json:"error,omitempty"`
	Result *protocol.HistoryResult `json:"result,omitempty"`
}

HistoryResponse ...

type PingResponse

type PingResponse struct {
	Error  *protocol.Error      `json:"error,omitempty"`
	Result *protocol.PingResult `json:"result,omitempty"`
}

PingResponse ...

type PresenceResponse

type PresenceResponse struct {
	Error  *protocol.Error          `json:"error,omitempty"`
	Result *protocol.PresenceResult `json:"result,omitempty"`
}

PresenceResponse ...

type PresenceStatsResponse

type PresenceStatsResponse struct {
	Error  *protocol.Error               `json:"error,omitempty"`
	Result *protocol.PresenceStatsResult `json:"result,omitempty"`
}

PresenceStatsResponse ...

type PublishResponse

type PublishResponse struct {
	Error  *protocol.Error         `json:"error,omitempty"`
	Result *protocol.PublishResult `json:"result,omitempty"`
}

PublishResponse ...

type RPCResponse

type RPCResponse struct {
	Error  *protocol.Error     `json:"error,omitempty"`
	Result *protocol.RPCResult `json:"result,omitempty"`
}

RPCResponse ...

type RefreshResponse

type RefreshResponse struct {
	Error  *protocol.Error         `json:"error,omitempty"`
	Result *protocol.RefreshResult `json:"result,omitempty"`
}

RefreshResponse ...

type SubRefreshResponse

type SubRefreshResponse struct {
	Error  *protocol.Error            `json:"error,omitempty"`
	Result *protocol.SubRefreshResult `json:"result,omitempty"`
}

SubRefreshResponse ...

type SubscribeResponse

type SubscribeResponse struct {
	Error  *protocol.Error           `json:"error,omitempty"`
	Result *protocol.SubscribeResult `json:"result,omitempty"`
}

SubscribeResponse ...

type UnsubscribeResponse

type UnsubscribeResponse struct {
	Error  *protocol.Error             `json:"error,omitempty"`
	Result *protocol.UnsubscribeResult `json:"result,omitempty"`
}

UnsubscribeResponse ...

Jump to

Keyboard shortcuts

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