Documentation ¶
Index ¶
- Variables
- type Channel
- func (*Channel) Descriptor() ([]byte, []int)
- func (m *Channel) GetId() string
- func (m *Channel) GetPresences() []*UserPresence
- func (m *Channel) GetSelf() *UserPresence
- func (*Channel) ProtoMessage()
- func (m *Channel) Reset()
- func (m *Channel) String() string
- func (m *Channel) XXX_DiscardUnknown()
- func (m *Channel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Channel) XXX_Merge(src proto.Message)
- func (m *Channel) XXX_Size() int
- func (m *Channel) XXX_Unmarshal(b []byte) error
- type ChannelJoin
- func (*ChannelJoin) Descriptor() ([]byte, []int)
- func (m *ChannelJoin) GetHidden() *wrappers.BoolValue
- func (m *ChannelJoin) GetPersistence() *wrappers.BoolValue
- func (m *ChannelJoin) GetTarget() string
- func (m *ChannelJoin) GetType() int32
- func (*ChannelJoin) ProtoMessage()
- func (m *ChannelJoin) Reset()
- func (m *ChannelJoin) String() string
- func (m *ChannelJoin) XXX_DiscardUnknown()
- func (m *ChannelJoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChannelJoin) XXX_Merge(src proto.Message)
- func (m *ChannelJoin) XXX_Size() int
- func (m *ChannelJoin) XXX_Unmarshal(b []byte) error
- type ChannelJoin_Type
- type ChannelLeave
- func (*ChannelLeave) Descriptor() ([]byte, []int)
- func (m *ChannelLeave) GetChannelId() string
- func (*ChannelLeave) ProtoMessage()
- func (m *ChannelLeave) Reset()
- func (m *ChannelLeave) String() string
- func (m *ChannelLeave) XXX_DiscardUnknown()
- func (m *ChannelLeave) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChannelLeave) XXX_Merge(src proto.Message)
- func (m *ChannelLeave) XXX_Size() int
- func (m *ChannelLeave) XXX_Unmarshal(b []byte) error
- type ChannelMessageAck
- func (*ChannelMessageAck) Descriptor() ([]byte, []int)
- func (m *ChannelMessageAck) GetChannelId() string
- func (m *ChannelMessageAck) GetCode() *wrappers.Int32Value
- func (m *ChannelMessageAck) GetCreateTime() *timestamp.Timestamp
- func (m *ChannelMessageAck) GetMessageId() string
- func (m *ChannelMessageAck) GetPersistent() *wrappers.BoolValue
- func (m *ChannelMessageAck) GetUpdateTime() *timestamp.Timestamp
- func (m *ChannelMessageAck) GetUsername() string
- func (*ChannelMessageAck) ProtoMessage()
- func (m *ChannelMessageAck) Reset()
- func (m *ChannelMessageAck) String() string
- func (m *ChannelMessageAck) XXX_DiscardUnknown()
- func (m *ChannelMessageAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChannelMessageAck) XXX_Merge(src proto.Message)
- func (m *ChannelMessageAck) XXX_Size() int
- func (m *ChannelMessageAck) XXX_Unmarshal(b []byte) error
- type ChannelMessageRemove
- func (*ChannelMessageRemove) Descriptor() ([]byte, []int)
- func (m *ChannelMessageRemove) GetChannelId() string
- func (m *ChannelMessageRemove) GetMessageId() string
- func (*ChannelMessageRemove) ProtoMessage()
- func (m *ChannelMessageRemove) Reset()
- func (m *ChannelMessageRemove) String() string
- func (m *ChannelMessageRemove) XXX_DiscardUnknown()
- func (m *ChannelMessageRemove) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChannelMessageRemove) XXX_Merge(src proto.Message)
- func (m *ChannelMessageRemove) XXX_Size() int
- func (m *ChannelMessageRemove) XXX_Unmarshal(b []byte) error
- type ChannelMessageSend
- func (*ChannelMessageSend) Descriptor() ([]byte, []int)
- func (m *ChannelMessageSend) GetChannelId() string
- func (m *ChannelMessageSend) GetContent() string
- func (*ChannelMessageSend) ProtoMessage()
- func (m *ChannelMessageSend) Reset()
- func (m *ChannelMessageSend) String() string
- func (m *ChannelMessageSend) XXX_DiscardUnknown()
- func (m *ChannelMessageSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChannelMessageSend) XXX_Merge(src proto.Message)
- func (m *ChannelMessageSend) XXX_Size() int
- func (m *ChannelMessageSend) XXX_Unmarshal(b []byte) error
- type ChannelMessageUpdate
- func (*ChannelMessageUpdate) Descriptor() ([]byte, []int)
- func (m *ChannelMessageUpdate) GetChannelId() string
- func (m *ChannelMessageUpdate) GetContent() string
- func (m *ChannelMessageUpdate) GetMessageId() string
- func (*ChannelMessageUpdate) ProtoMessage()
- func (m *ChannelMessageUpdate) Reset()
- func (m *ChannelMessageUpdate) String() string
- func (m *ChannelMessageUpdate) XXX_DiscardUnknown()
- func (m *ChannelMessageUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChannelMessageUpdate) XXX_Merge(src proto.Message)
- func (m *ChannelMessageUpdate) XXX_Size() int
- func (m *ChannelMessageUpdate) XXX_Unmarshal(b []byte) error
- type ChannelPresenceEvent
- func (*ChannelPresenceEvent) Descriptor() ([]byte, []int)
- func (m *ChannelPresenceEvent) GetChannelId() string
- func (m *ChannelPresenceEvent) GetJoins() []*UserPresence
- func (m *ChannelPresenceEvent) GetLeaves() []*UserPresence
- func (*ChannelPresenceEvent) ProtoMessage()
- func (m *ChannelPresenceEvent) Reset()
- func (m *ChannelPresenceEvent) String() string
- func (m *ChannelPresenceEvent) XXX_DiscardUnknown()
- func (m *ChannelPresenceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChannelPresenceEvent) XXX_Merge(src proto.Message)
- func (m *ChannelPresenceEvent) XXX_Size() int
- func (m *ChannelPresenceEvent) XXX_Unmarshal(b []byte) error
- type Envelope
- func (*Envelope) Descriptor() ([]byte, []int)
- func (m *Envelope) GetChannel() *Channel
- func (m *Envelope) GetChannelJoin() *ChannelJoin
- func (m *Envelope) GetChannelLeave() *ChannelLeave
- func (m *Envelope) GetChannelMessage() *api.ChannelMessage
- func (m *Envelope) GetChannelMessageAck() *ChannelMessageAck
- func (m *Envelope) GetChannelMessageRemove() *ChannelMessageRemove
- func (m *Envelope) GetChannelMessageSend() *ChannelMessageSend
- func (m *Envelope) GetChannelMessageUpdate() *ChannelMessageUpdate
- func (m *Envelope) GetChannelPresenceEvent() *ChannelPresenceEvent
- func (m *Envelope) GetCid() string
- func (m *Envelope) GetError() *Error
- func (m *Envelope) GetMatch() *Match
- func (m *Envelope) GetMatchCreate() *MatchCreate
- func (m *Envelope) GetMatchData() *MatchData
- func (m *Envelope) GetMatchDataSend() *MatchDataSend
- func (m *Envelope) GetMatchJoin() *MatchJoin
- func (m *Envelope) GetMatchLeave() *MatchLeave
- func (m *Envelope) GetMatchPresenceEvent() *MatchPresenceEvent
- func (m *Envelope) GetMatchmakerAdd() *MatchmakerAdd
- func (m *Envelope) GetMatchmakerMatched() *MatchmakerMatched
- func (m *Envelope) GetMatchmakerRemove() *MatchmakerRemove
- func (m *Envelope) GetMatchmakerTicket() *MatchmakerTicket
- func (m *Envelope) GetMessage() isEnvelope_Message
- func (m *Envelope) GetNotifications() *Notifications
- func (m *Envelope) GetRpc() *api.Rpc
- func (m *Envelope) GetStatus() *Status
- func (m *Envelope) GetStatusFollow() *StatusFollow
- func (m *Envelope) GetStatusPresenceEvent() *StatusPresenceEvent
- func (m *Envelope) GetStatusUnfollow() *StatusUnfollow
- func (m *Envelope) GetStatusUpdate() *StatusUpdate
- func (m *Envelope) GetStreamData() *StreamData
- func (m *Envelope) GetStreamPresenceEvent() *StreamPresenceEvent
- func (*Envelope) ProtoMessage()
- func (m *Envelope) Reset()
- func (m *Envelope) String() string
- func (m *Envelope) XXX_DiscardUnknown()
- func (m *Envelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Envelope) XXX_Merge(src proto.Message)
- func (*Envelope) XXX_OneofWrappers() []interface{}
- func (m *Envelope) XXX_Size() int
- func (m *Envelope) XXX_Unmarshal(b []byte) error
- type Envelope_Channel
- type Envelope_ChannelJoin
- type Envelope_ChannelLeave
- type Envelope_ChannelMessage
- type Envelope_ChannelMessageAck
- type Envelope_ChannelMessageRemove
- type Envelope_ChannelMessageSend
- type Envelope_ChannelMessageUpdate
- type Envelope_ChannelPresenceEvent
- type Envelope_Error
- type Envelope_Match
- type Envelope_MatchCreate
- type Envelope_MatchData
- type Envelope_MatchDataSend
- type Envelope_MatchJoin
- type Envelope_MatchLeave
- type Envelope_MatchPresenceEvent
- type Envelope_MatchmakerAdd
- type Envelope_MatchmakerMatched
- type Envelope_MatchmakerRemove
- type Envelope_MatchmakerTicket
- type Envelope_Notifications
- type Envelope_Rpc
- type Envelope_Status
- type Envelope_StatusFollow
- type Envelope_StatusPresenceEvent
- type Envelope_StatusUnfollow
- type Envelope_StatusUpdate
- type Envelope_StreamData
- type Envelope_StreamPresenceEvent
- type Error
- func (*Error) Descriptor() ([]byte, []int)
- func (m *Error) GetCode() int32
- func (m *Error) GetContext() map[string]string
- func (m *Error) GetMessage() string
- func (*Error) ProtoMessage()
- func (m *Error) Reset()
- func (m *Error) String() string
- func (m *Error) XXX_DiscardUnknown()
- func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Error) XXX_Merge(src proto.Message)
- func (m *Error) XXX_Size() int
- func (m *Error) XXX_Unmarshal(b []byte) error
- type Error_Code
- type Match
- func (*Match) Descriptor() ([]byte, []int)
- func (m *Match) GetAuthoritative() bool
- func (m *Match) GetLabel() *wrappers.StringValue
- func (m *Match) GetMatchId() string
- func (m *Match) GetPresences() []*UserPresence
- func (m *Match) GetSelf() *UserPresence
- func (m *Match) GetSize() int32
- func (*Match) ProtoMessage()
- func (m *Match) Reset()
- func (m *Match) String() string
- func (m *Match) XXX_DiscardUnknown()
- func (m *Match) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Match) XXX_Merge(src proto.Message)
- func (m *Match) XXX_Size() int
- func (m *Match) XXX_Unmarshal(b []byte) error
- type MatchCreate
- func (*MatchCreate) Descriptor() ([]byte, []int)
- func (*MatchCreate) ProtoMessage()
- func (m *MatchCreate) Reset()
- func (m *MatchCreate) String() string
- func (m *MatchCreate) XXX_DiscardUnknown()
- func (m *MatchCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MatchCreate) XXX_Merge(src proto.Message)
- func (m *MatchCreate) XXX_Size() int
- func (m *MatchCreate) XXX_Unmarshal(b []byte) error
- type MatchData
- func (*MatchData) Descriptor() ([]byte, []int)
- func (m *MatchData) GetData() []byte
- func (m *MatchData) GetMatchId() string
- func (m *MatchData) GetOpCode() int64
- func (m *MatchData) GetPresence() *UserPresence
- func (*MatchData) ProtoMessage()
- func (m *MatchData) Reset()
- func (m *MatchData) String() string
- func (m *MatchData) XXX_DiscardUnknown()
- func (m *MatchData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MatchData) XXX_Merge(src proto.Message)
- func (m *MatchData) XXX_Size() int
- func (m *MatchData) XXX_Unmarshal(b []byte) error
- type MatchDataSend
- func (*MatchDataSend) Descriptor() ([]byte, []int)
- func (m *MatchDataSend) GetData() []byte
- func (m *MatchDataSend) GetMatchId() string
- func (m *MatchDataSend) GetOpCode() int64
- func (m *MatchDataSend) GetPresences() []*UserPresence
- func (*MatchDataSend) ProtoMessage()
- func (m *MatchDataSend) Reset()
- func (m *MatchDataSend) String() string
- func (m *MatchDataSend) XXX_DiscardUnknown()
- func (m *MatchDataSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MatchDataSend) XXX_Merge(src proto.Message)
- func (m *MatchDataSend) XXX_Size() int
- func (m *MatchDataSend) XXX_Unmarshal(b []byte) error
- type MatchJoin
- func (*MatchJoin) Descriptor() ([]byte, []int)
- func (m *MatchJoin) GetId() isMatchJoin_Id
- func (m *MatchJoin) GetMatchId() string
- func (m *MatchJoin) GetMetadata() map[string]string
- func (m *MatchJoin) GetToken() string
- func (*MatchJoin) ProtoMessage()
- func (m *MatchJoin) Reset()
- func (m *MatchJoin) String() string
- func (m *MatchJoin) XXX_DiscardUnknown()
- func (m *MatchJoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MatchJoin) XXX_Merge(src proto.Message)
- func (*MatchJoin) XXX_OneofWrappers() []interface{}
- func (m *MatchJoin) XXX_Size() int
- func (m *MatchJoin) XXX_Unmarshal(b []byte) error
- type MatchJoin_MatchId
- type MatchJoin_Token
- type MatchLeave
- func (*MatchLeave) Descriptor() ([]byte, []int)
- func (m *MatchLeave) GetMatchId() string
- func (*MatchLeave) ProtoMessage()
- func (m *MatchLeave) Reset()
- func (m *MatchLeave) String() string
- func (m *MatchLeave) XXX_DiscardUnknown()
- func (m *MatchLeave) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MatchLeave) XXX_Merge(src proto.Message)
- func (m *MatchLeave) XXX_Size() int
- func (m *MatchLeave) XXX_Unmarshal(b []byte) error
- type MatchPresenceEvent
- func (*MatchPresenceEvent) Descriptor() ([]byte, []int)
- func (m *MatchPresenceEvent) GetJoins() []*UserPresence
- func (m *MatchPresenceEvent) GetLeaves() []*UserPresence
- func (m *MatchPresenceEvent) GetMatchId() string
- func (*MatchPresenceEvent) ProtoMessage()
- func (m *MatchPresenceEvent) Reset()
- func (m *MatchPresenceEvent) String() string
- func (m *MatchPresenceEvent) XXX_DiscardUnknown()
- func (m *MatchPresenceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MatchPresenceEvent) XXX_Merge(src proto.Message)
- func (m *MatchPresenceEvent) XXX_Size() int
- func (m *MatchPresenceEvent) XXX_Unmarshal(b []byte) error
- type MatchmakerAdd
- func (*MatchmakerAdd) Descriptor() ([]byte, []int)
- func (m *MatchmakerAdd) GetMaxCount() int32
- func (m *MatchmakerAdd) GetMinCount() int32
- func (m *MatchmakerAdd) GetNumericProperties() map[string]float64
- func (m *MatchmakerAdd) GetQuery() string
- func (m *MatchmakerAdd) GetStringProperties() map[string]string
- func (*MatchmakerAdd) ProtoMessage()
- func (m *MatchmakerAdd) Reset()
- func (m *MatchmakerAdd) String() string
- func (m *MatchmakerAdd) XXX_DiscardUnknown()
- func (m *MatchmakerAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MatchmakerAdd) XXX_Merge(src proto.Message)
- func (m *MatchmakerAdd) XXX_Size() int
- func (m *MatchmakerAdd) XXX_Unmarshal(b []byte) error
- type MatchmakerMatched
- func (*MatchmakerMatched) Descriptor() ([]byte, []int)
- func (m *MatchmakerMatched) GetId() isMatchmakerMatched_Id
- func (m *MatchmakerMatched) GetMatchId() string
- func (m *MatchmakerMatched) GetSelf() *MatchmakerMatched_MatchmakerUser
- func (m *MatchmakerMatched) GetTicket() string
- func (m *MatchmakerMatched) GetToken() string
- func (m *MatchmakerMatched) GetUsers() []*MatchmakerMatched_MatchmakerUser
- func (*MatchmakerMatched) ProtoMessage()
- func (m *MatchmakerMatched) Reset()
- func (m *MatchmakerMatched) String() string
- func (m *MatchmakerMatched) XXX_DiscardUnknown()
- func (m *MatchmakerMatched) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MatchmakerMatched) XXX_Merge(src proto.Message)
- func (*MatchmakerMatched) XXX_OneofWrappers() []interface{}
- func (m *MatchmakerMatched) XXX_Size() int
- func (m *MatchmakerMatched) XXX_Unmarshal(b []byte) error
- type MatchmakerMatched_MatchId
- type MatchmakerMatched_MatchmakerUser
- func (*MatchmakerMatched_MatchmakerUser) Descriptor() ([]byte, []int)
- func (m *MatchmakerMatched_MatchmakerUser) GetNumericProperties() map[string]float64
- func (m *MatchmakerMatched_MatchmakerUser) GetPresence() *UserPresence
- func (m *MatchmakerMatched_MatchmakerUser) GetStringProperties() map[string]string
- func (*MatchmakerMatched_MatchmakerUser) ProtoMessage()
- func (m *MatchmakerMatched_MatchmakerUser) Reset()
- func (m *MatchmakerMatched_MatchmakerUser) String() string
- func (m *MatchmakerMatched_MatchmakerUser) XXX_DiscardUnknown()
- func (m *MatchmakerMatched_MatchmakerUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MatchmakerMatched_MatchmakerUser) XXX_Merge(src proto.Message)
- func (m *MatchmakerMatched_MatchmakerUser) XXX_Size() int
- func (m *MatchmakerMatched_MatchmakerUser) XXX_Unmarshal(b []byte) error
- type MatchmakerMatched_Token
- type MatchmakerRemove
- func (*MatchmakerRemove) Descriptor() ([]byte, []int)
- func (m *MatchmakerRemove) GetTicket() string
- func (*MatchmakerRemove) ProtoMessage()
- func (m *MatchmakerRemove) Reset()
- func (m *MatchmakerRemove) String() string
- func (m *MatchmakerRemove) XXX_DiscardUnknown()
- func (m *MatchmakerRemove) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MatchmakerRemove) XXX_Merge(src proto.Message)
- func (m *MatchmakerRemove) XXX_Size() int
- func (m *MatchmakerRemove) XXX_Unmarshal(b []byte) error
- type MatchmakerTicket
- func (*MatchmakerTicket) Descriptor() ([]byte, []int)
- func (m *MatchmakerTicket) GetTicket() string
- func (*MatchmakerTicket) ProtoMessage()
- func (m *MatchmakerTicket) Reset()
- func (m *MatchmakerTicket) String() string
- func (m *MatchmakerTicket) XXX_DiscardUnknown()
- func (m *MatchmakerTicket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MatchmakerTicket) XXX_Merge(src proto.Message)
- func (m *MatchmakerTicket) XXX_Size() int
- func (m *MatchmakerTicket) XXX_Unmarshal(b []byte) error
- type Notifications
- func (*Notifications) Descriptor() ([]byte, []int)
- func (m *Notifications) GetNotifications() []*api.Notification
- func (*Notifications) ProtoMessage()
- func (m *Notifications) Reset()
- func (m *Notifications) String() string
- func (m *Notifications) XXX_DiscardUnknown()
- func (m *Notifications) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Notifications) XXX_Merge(src proto.Message)
- func (m *Notifications) XXX_Size() int
- func (m *Notifications) XXX_Unmarshal(b []byte) error
- type Status
- func (*Status) Descriptor() ([]byte, []int)
- func (m *Status) GetPresences() []*UserPresence
- func (*Status) ProtoMessage()
- func (m *Status) Reset()
- func (m *Status) String() string
- func (m *Status) XXX_DiscardUnknown()
- func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Status) XXX_Merge(src proto.Message)
- func (m *Status) XXX_Size() int
- func (m *Status) XXX_Unmarshal(b []byte) error
- type StatusFollow
- func (*StatusFollow) Descriptor() ([]byte, []int)
- func (m *StatusFollow) GetUserIds() []string
- func (*StatusFollow) ProtoMessage()
- func (m *StatusFollow) Reset()
- func (m *StatusFollow) String() string
- func (m *StatusFollow) XXX_DiscardUnknown()
- func (m *StatusFollow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatusFollow) XXX_Merge(src proto.Message)
- func (m *StatusFollow) XXX_Size() int
- func (m *StatusFollow) XXX_Unmarshal(b []byte) error
- type StatusPresenceEvent
- func (*StatusPresenceEvent) Descriptor() ([]byte, []int)
- func (m *StatusPresenceEvent) GetJoins() []*UserPresence
- func (m *StatusPresenceEvent) GetLeaves() []*UserPresence
- func (*StatusPresenceEvent) ProtoMessage()
- func (m *StatusPresenceEvent) Reset()
- func (m *StatusPresenceEvent) String() string
- func (m *StatusPresenceEvent) XXX_DiscardUnknown()
- func (m *StatusPresenceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatusPresenceEvent) XXX_Merge(src proto.Message)
- func (m *StatusPresenceEvent) XXX_Size() int
- func (m *StatusPresenceEvent) XXX_Unmarshal(b []byte) error
- type StatusUnfollow
- func (*StatusUnfollow) Descriptor() ([]byte, []int)
- func (m *StatusUnfollow) GetUserIds() []string
- func (*StatusUnfollow) ProtoMessage()
- func (m *StatusUnfollow) Reset()
- func (m *StatusUnfollow) String() string
- func (m *StatusUnfollow) XXX_DiscardUnknown()
- func (m *StatusUnfollow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatusUnfollow) XXX_Merge(src proto.Message)
- func (m *StatusUnfollow) XXX_Size() int
- func (m *StatusUnfollow) XXX_Unmarshal(b []byte) error
- type StatusUpdate
- func (*StatusUpdate) Descriptor() ([]byte, []int)
- func (m *StatusUpdate) GetStatus() *wrappers.StringValue
- func (*StatusUpdate) ProtoMessage()
- func (m *StatusUpdate) Reset()
- func (m *StatusUpdate) String() string
- func (m *StatusUpdate) XXX_DiscardUnknown()
- func (m *StatusUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatusUpdate) XXX_Merge(src proto.Message)
- func (m *StatusUpdate) XXX_Size() int
- func (m *StatusUpdate) XXX_Unmarshal(b []byte) error
- type Stream
- func (*Stream) Descriptor() ([]byte, []int)
- func (m *Stream) GetLabel() string
- func (m *Stream) GetMode() int32
- func (m *Stream) GetSubcontext() string
- func (m *Stream) GetSubject() string
- func (*Stream) ProtoMessage()
- func (m *Stream) Reset()
- func (m *Stream) String() string
- func (m *Stream) XXX_DiscardUnknown()
- func (m *Stream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Stream) XXX_Merge(src proto.Message)
- func (m *Stream) XXX_Size() int
- func (m *Stream) XXX_Unmarshal(b []byte) error
- type StreamData
- func (*StreamData) Descriptor() ([]byte, []int)
- func (m *StreamData) GetData() string
- func (m *StreamData) GetSender() *UserPresence
- func (m *StreamData) GetStream() *Stream
- func (*StreamData) ProtoMessage()
- func (m *StreamData) Reset()
- func (m *StreamData) String() string
- func (m *StreamData) XXX_DiscardUnknown()
- func (m *StreamData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StreamData) XXX_Merge(src proto.Message)
- func (m *StreamData) XXX_Size() int
- func (m *StreamData) XXX_Unmarshal(b []byte) error
- type StreamPresenceEvent
- func (*StreamPresenceEvent) Descriptor() ([]byte, []int)
- func (m *StreamPresenceEvent) GetJoins() []*UserPresence
- func (m *StreamPresenceEvent) GetLeaves() []*UserPresence
- func (m *StreamPresenceEvent) GetStream() *Stream
- func (*StreamPresenceEvent) ProtoMessage()
- func (m *StreamPresenceEvent) Reset()
- func (m *StreamPresenceEvent) String() string
- func (m *StreamPresenceEvent) XXX_DiscardUnknown()
- func (m *StreamPresenceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StreamPresenceEvent) XXX_Merge(src proto.Message)
- func (m *StreamPresenceEvent) XXX_Size() int
- func (m *StreamPresenceEvent) XXX_Unmarshal(b []byte) error
- type UserPresence
- func (*UserPresence) Descriptor() ([]byte, []int)
- func (m *UserPresence) GetPersistence() bool
- func (m *UserPresence) GetSessionId() string
- func (m *UserPresence) GetStatus() *wrappers.StringValue
- func (m *UserPresence) GetUserId() string
- func (m *UserPresence) GetUsername() string
- func (*UserPresence) ProtoMessage()
- func (m *UserPresence) Reset()
- func (m *UserPresence) String() string
- func (m *UserPresence) XXX_DiscardUnknown()
- func (m *UserPresence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserPresence) XXX_Merge(src proto.Message)
- func (m *UserPresence) XXX_Size() int
- func (m *UserPresence) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ChannelJoin_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "ROOM",
2: "DIRECT_MESSAGE",
3: "GROUP",
}
var ChannelJoin_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"ROOM": 1,
"DIRECT_MESSAGE": 2,
"GROUP": 3,
}
var Error_Code_name = map[int32]string{
0: "RUNTIME_EXCEPTION",
1: "UNRECOGNIZED_PAYLOAD",
2: "MISSING_PAYLOAD",
3: "BAD_INPUT",
4: "MATCH_NOT_FOUND",
5: "MATCH_JOIN_REJECTED",
6: "RUNTIME_FUNCTION_NOT_FOUND",
7: "RUNTIME_FUNCTION_EXCEPTION",
}
var Error_Code_value = map[string]int32{
"RUNTIME_EXCEPTION": 0,
"UNRECOGNIZED_PAYLOAD": 1,
"MISSING_PAYLOAD": 2,
"BAD_INPUT": 3,
"MATCH_NOT_FOUND": 4,
"MATCH_JOIN_REJECTED": 5,
"RUNTIME_FUNCTION_NOT_FOUND": 6,
"RUNTIME_FUNCTION_EXCEPTION": 7,
}
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct { // The ID of the channel. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The users currently in the channel. Presences []*UserPresence `protobuf:"bytes,2,rep,name=presences,proto3" json:"presences,omitempty"` // A reference to the current user's presence in the channel. Self *UserPresence `protobuf:"bytes,3,opt,name=self,proto3" json:"self,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A realtime chat channel.
func (*Channel) Descriptor ¶
func (*Channel) GetPresences ¶
func (m *Channel) GetPresences() []*UserPresence
func (*Channel) GetSelf ¶
func (m *Channel) GetSelf() *UserPresence
func (*Channel) ProtoMessage ¶
func (*Channel) ProtoMessage()
func (*Channel) XXX_DiscardUnknown ¶
func (m *Channel) XXX_DiscardUnknown()
func (*Channel) XXX_Marshal ¶
func (*Channel) XXX_Unmarshal ¶
type ChannelJoin ¶
type ChannelJoin struct { // The user ID to DM with, group ID to chat with, or room channel name to join. Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` // The type of the chat channel. Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` // Whether messages sent on this channel should be persistent. Persistence *wrappers.BoolValue `protobuf:"bytes,3,opt,name=persistence,proto3" json:"persistence,omitempty"` // Whether the user should appear in the channel's presence list and events. Hidden *wrappers.BoolValue `protobuf:"bytes,4,opt,name=hidden,proto3" json:"hidden,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Join operation for a realtime chat channel.
func (*ChannelJoin) Descriptor ¶
func (*ChannelJoin) Descriptor() ([]byte, []int)
func (*ChannelJoin) GetHidden ¶
func (m *ChannelJoin) GetHidden() *wrappers.BoolValue
func (*ChannelJoin) GetPersistence ¶
func (m *ChannelJoin) GetPersistence() *wrappers.BoolValue
func (*ChannelJoin) GetTarget ¶
func (m *ChannelJoin) GetTarget() string
func (*ChannelJoin) GetType ¶
func (m *ChannelJoin) GetType() int32
func (*ChannelJoin) ProtoMessage ¶
func (*ChannelJoin) ProtoMessage()
func (*ChannelJoin) Reset ¶
func (m *ChannelJoin) Reset()
func (*ChannelJoin) String ¶
func (m *ChannelJoin) String() string
func (*ChannelJoin) XXX_DiscardUnknown ¶
func (m *ChannelJoin) XXX_DiscardUnknown()
func (*ChannelJoin) XXX_Marshal ¶
func (m *ChannelJoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChannelJoin) XXX_Merge ¶
func (m *ChannelJoin) XXX_Merge(src proto.Message)
func (*ChannelJoin) XXX_Size ¶
func (m *ChannelJoin) XXX_Size() int
func (*ChannelJoin) XXX_Unmarshal ¶
func (m *ChannelJoin) XXX_Unmarshal(b []byte) error
type ChannelJoin_Type ¶
type ChannelJoin_Type int32
The type of chat channel.
const ( // Default case. Assumed as ROOM type. ChannelJoin_TYPE_UNSPECIFIED ChannelJoin_Type = 0 // A room which anyone can join to chat. ChannelJoin_ROOM ChannelJoin_Type = 1 // A private channel for 1-on-1 chat. ChannelJoin_DIRECT_MESSAGE ChannelJoin_Type = 2 // A channel for group chat. ChannelJoin_GROUP ChannelJoin_Type = 3 )
func (ChannelJoin_Type) EnumDescriptor ¶
func (ChannelJoin_Type) EnumDescriptor() ([]byte, []int)
func (ChannelJoin_Type) String ¶
func (x ChannelJoin_Type) String() string
type ChannelLeave ¶
type ChannelLeave struct { // The ID of the channel to leave. ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Leave a realtime channel.
func (*ChannelLeave) Descriptor ¶
func (*ChannelLeave) Descriptor() ([]byte, []int)
func (*ChannelLeave) GetChannelId ¶
func (m *ChannelLeave) GetChannelId() string
func (*ChannelLeave) ProtoMessage ¶
func (*ChannelLeave) ProtoMessage()
func (*ChannelLeave) Reset ¶
func (m *ChannelLeave) Reset()
func (*ChannelLeave) String ¶
func (m *ChannelLeave) String() string
func (*ChannelLeave) XXX_DiscardUnknown ¶
func (m *ChannelLeave) XXX_DiscardUnknown()
func (*ChannelLeave) XXX_Marshal ¶
func (m *ChannelLeave) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChannelLeave) XXX_Merge ¶
func (m *ChannelLeave) XXX_Merge(src proto.Message)
func (*ChannelLeave) XXX_Size ¶
func (m *ChannelLeave) XXX_Size() int
func (*ChannelLeave) XXX_Unmarshal ¶
func (m *ChannelLeave) XXX_Unmarshal(b []byte) error
type ChannelMessageAck ¶
type ChannelMessageAck struct { // The channel the message was sent to. ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` // The unique ID assigned to the message. MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` // The code representing a message type or category. Code *wrappers.Int32Value `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` // Username of the message sender. Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` // The UNIX time when the message was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The UNIX time when the message was last updated. UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // True if the message was persisted to the channel's history, false otherwise. Persistent *wrappers.BoolValue `protobuf:"bytes,7,opt,name=persistent,proto3" json:"persistent,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A receipt reply from a channel message send operation.
func (*ChannelMessageAck) Descriptor ¶
func (*ChannelMessageAck) Descriptor() ([]byte, []int)
func (*ChannelMessageAck) GetChannelId ¶
func (m *ChannelMessageAck) GetChannelId() string
func (*ChannelMessageAck) GetCode ¶
func (m *ChannelMessageAck) GetCode() *wrappers.Int32Value
func (*ChannelMessageAck) GetCreateTime ¶
func (m *ChannelMessageAck) GetCreateTime() *timestamp.Timestamp
func (*ChannelMessageAck) GetMessageId ¶
func (m *ChannelMessageAck) GetMessageId() string
func (*ChannelMessageAck) GetPersistent ¶
func (m *ChannelMessageAck) GetPersistent() *wrappers.BoolValue
func (*ChannelMessageAck) GetUpdateTime ¶
func (m *ChannelMessageAck) GetUpdateTime() *timestamp.Timestamp
func (*ChannelMessageAck) GetUsername ¶
func (m *ChannelMessageAck) GetUsername() string
func (*ChannelMessageAck) ProtoMessage ¶
func (*ChannelMessageAck) ProtoMessage()
func (*ChannelMessageAck) Reset ¶
func (m *ChannelMessageAck) Reset()
func (*ChannelMessageAck) String ¶
func (m *ChannelMessageAck) String() string
func (*ChannelMessageAck) XXX_DiscardUnknown ¶
func (m *ChannelMessageAck) XXX_DiscardUnknown()
func (*ChannelMessageAck) XXX_Marshal ¶
func (m *ChannelMessageAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChannelMessageAck) XXX_Merge ¶
func (m *ChannelMessageAck) XXX_Merge(src proto.Message)
func (*ChannelMessageAck) XXX_Size ¶
func (m *ChannelMessageAck) XXX_Size() int
func (*ChannelMessageAck) XXX_Unmarshal ¶
func (m *ChannelMessageAck) XXX_Unmarshal(b []byte) error
type ChannelMessageRemove ¶
type ChannelMessageRemove struct { // The channel the message was sent to. ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` // The ID assigned to the message to update. MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Remove a message previously sent to a realtime channel.
func (*ChannelMessageRemove) Descriptor ¶
func (*ChannelMessageRemove) Descriptor() ([]byte, []int)
func (*ChannelMessageRemove) GetChannelId ¶
func (m *ChannelMessageRemove) GetChannelId() string
func (*ChannelMessageRemove) GetMessageId ¶
func (m *ChannelMessageRemove) GetMessageId() string
func (*ChannelMessageRemove) ProtoMessage ¶
func (*ChannelMessageRemove) ProtoMessage()
func (*ChannelMessageRemove) Reset ¶
func (m *ChannelMessageRemove) Reset()
func (*ChannelMessageRemove) String ¶
func (m *ChannelMessageRemove) String() string
func (*ChannelMessageRemove) XXX_DiscardUnknown ¶
func (m *ChannelMessageRemove) XXX_DiscardUnknown()
func (*ChannelMessageRemove) XXX_Marshal ¶
func (m *ChannelMessageRemove) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChannelMessageRemove) XXX_Merge ¶
func (m *ChannelMessageRemove) XXX_Merge(src proto.Message)
func (*ChannelMessageRemove) XXX_Size ¶
func (m *ChannelMessageRemove) XXX_Size() int
func (*ChannelMessageRemove) XXX_Unmarshal ¶
func (m *ChannelMessageRemove) XXX_Unmarshal(b []byte) error
type ChannelMessageSend ¶
type ChannelMessageSend struct { // The channel to sent to. ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` // Message content. Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Send a message to a realtime channel.
func (*ChannelMessageSend) Descriptor ¶
func (*ChannelMessageSend) Descriptor() ([]byte, []int)
func (*ChannelMessageSend) GetChannelId ¶
func (m *ChannelMessageSend) GetChannelId() string
func (*ChannelMessageSend) GetContent ¶
func (m *ChannelMessageSend) GetContent() string
func (*ChannelMessageSend) ProtoMessage ¶
func (*ChannelMessageSend) ProtoMessage()
func (*ChannelMessageSend) Reset ¶
func (m *ChannelMessageSend) Reset()
func (*ChannelMessageSend) String ¶
func (m *ChannelMessageSend) String() string
func (*ChannelMessageSend) XXX_DiscardUnknown ¶
func (m *ChannelMessageSend) XXX_DiscardUnknown()
func (*ChannelMessageSend) XXX_Marshal ¶
func (m *ChannelMessageSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChannelMessageSend) XXX_Merge ¶
func (m *ChannelMessageSend) XXX_Merge(src proto.Message)
func (*ChannelMessageSend) XXX_Size ¶
func (m *ChannelMessageSend) XXX_Size() int
func (*ChannelMessageSend) XXX_Unmarshal ¶
func (m *ChannelMessageSend) XXX_Unmarshal(b []byte) error
type ChannelMessageUpdate ¶
type ChannelMessageUpdate struct { // The channel the message was sent to. ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` // The ID assigned to the message to update. MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` // New message content. Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Update a message previously sent to a realtime channel.
func (*ChannelMessageUpdate) Descriptor ¶
func (*ChannelMessageUpdate) Descriptor() ([]byte, []int)
func (*ChannelMessageUpdate) GetChannelId ¶
func (m *ChannelMessageUpdate) GetChannelId() string
func (*ChannelMessageUpdate) GetContent ¶
func (m *ChannelMessageUpdate) GetContent() string
func (*ChannelMessageUpdate) GetMessageId ¶
func (m *ChannelMessageUpdate) GetMessageId() string
func (*ChannelMessageUpdate) ProtoMessage ¶
func (*ChannelMessageUpdate) ProtoMessage()
func (*ChannelMessageUpdate) Reset ¶
func (m *ChannelMessageUpdate) Reset()
func (*ChannelMessageUpdate) String ¶
func (m *ChannelMessageUpdate) String() string
func (*ChannelMessageUpdate) XXX_DiscardUnknown ¶
func (m *ChannelMessageUpdate) XXX_DiscardUnknown()
func (*ChannelMessageUpdate) XXX_Marshal ¶
func (m *ChannelMessageUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChannelMessageUpdate) XXX_Merge ¶
func (m *ChannelMessageUpdate) XXX_Merge(src proto.Message)
func (*ChannelMessageUpdate) XXX_Size ¶
func (m *ChannelMessageUpdate) XXX_Size() int
func (*ChannelMessageUpdate) XXX_Unmarshal ¶
func (m *ChannelMessageUpdate) XXX_Unmarshal(b []byte) error
type ChannelPresenceEvent ¶
type ChannelPresenceEvent struct { // The channel identifier this event is for. ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` // Presences joining the channel as part of this event, if any. Joins []*UserPresence `protobuf:"bytes,2,rep,name=joins,proto3" json:"joins,omitempty"` // Presences leaving the channel as part of this event, if any. Leaves []*UserPresence `protobuf:"bytes,3,rep,name=leaves,proto3" json:"leaves,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A set of joins and leaves on a particular channel.
func (*ChannelPresenceEvent) Descriptor ¶
func (*ChannelPresenceEvent) Descriptor() ([]byte, []int)
func (*ChannelPresenceEvent) GetChannelId ¶
func (m *ChannelPresenceEvent) GetChannelId() string
func (*ChannelPresenceEvent) GetJoins ¶
func (m *ChannelPresenceEvent) GetJoins() []*UserPresence
func (*ChannelPresenceEvent) GetLeaves ¶
func (m *ChannelPresenceEvent) GetLeaves() []*UserPresence
func (*ChannelPresenceEvent) ProtoMessage ¶
func (*ChannelPresenceEvent) ProtoMessage()
func (*ChannelPresenceEvent) Reset ¶
func (m *ChannelPresenceEvent) Reset()
func (*ChannelPresenceEvent) String ¶
func (m *ChannelPresenceEvent) String() string
func (*ChannelPresenceEvent) XXX_DiscardUnknown ¶
func (m *ChannelPresenceEvent) XXX_DiscardUnknown()
func (*ChannelPresenceEvent) XXX_Marshal ¶
func (m *ChannelPresenceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChannelPresenceEvent) XXX_Merge ¶
func (m *ChannelPresenceEvent) XXX_Merge(src proto.Message)
func (*ChannelPresenceEvent) XXX_Size ¶
func (m *ChannelPresenceEvent) XXX_Size() int
func (*ChannelPresenceEvent) XXX_Unmarshal ¶
func (m *ChannelPresenceEvent) XXX_Unmarshal(b []byte) error
type Envelope ¶
type Envelope struct { Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` // Types that are valid to be assigned to Message: // *Envelope_Channel // *Envelope_ChannelJoin // *Envelope_ChannelLeave // *Envelope_ChannelMessage // *Envelope_ChannelMessageAck // *Envelope_ChannelMessageSend // *Envelope_ChannelMessageUpdate // *Envelope_ChannelMessageRemove // *Envelope_ChannelPresenceEvent // *Envelope_Error // *Envelope_Match // *Envelope_MatchCreate // *Envelope_MatchData // *Envelope_MatchDataSend // *Envelope_MatchJoin // *Envelope_MatchLeave // *Envelope_MatchPresenceEvent // *Envelope_MatchmakerAdd // *Envelope_MatchmakerMatched // *Envelope_MatchmakerRemove // *Envelope_MatchmakerTicket // *Envelope_Notifications // *Envelope_Rpc // *Envelope_Status // *Envelope_StatusFollow // *Envelope_StatusPresenceEvent // *Envelope_StatusUnfollow // *Envelope_StatusUpdate // *Envelope_StreamData // *Envelope_StreamPresenceEvent Message isEnvelope_Message `protobuf_oneof:"message"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An envelope for a realtime message.
func (*Envelope) Descriptor ¶
func (*Envelope) GetChannel ¶
func (*Envelope) GetChannelJoin ¶
func (m *Envelope) GetChannelJoin() *ChannelJoin
func (*Envelope) GetChannelLeave ¶
func (m *Envelope) GetChannelLeave() *ChannelLeave
func (*Envelope) GetChannelMessage ¶
func (m *Envelope) GetChannelMessage() *api.ChannelMessage
func (*Envelope) GetChannelMessageAck ¶
func (m *Envelope) GetChannelMessageAck() *ChannelMessageAck
func (*Envelope) GetChannelMessageRemove ¶
func (m *Envelope) GetChannelMessageRemove() *ChannelMessageRemove
func (*Envelope) GetChannelMessageSend ¶
func (m *Envelope) GetChannelMessageSend() *ChannelMessageSend
func (*Envelope) GetChannelMessageUpdate ¶
func (m *Envelope) GetChannelMessageUpdate() *ChannelMessageUpdate
func (*Envelope) GetChannelPresenceEvent ¶
func (m *Envelope) GetChannelPresenceEvent() *ChannelPresenceEvent
func (*Envelope) GetMatchCreate ¶
func (m *Envelope) GetMatchCreate() *MatchCreate
func (*Envelope) GetMatchData ¶
func (*Envelope) GetMatchDataSend ¶
func (m *Envelope) GetMatchDataSend() *MatchDataSend
func (*Envelope) GetMatchJoin ¶
func (*Envelope) GetMatchLeave ¶
func (m *Envelope) GetMatchLeave() *MatchLeave
func (*Envelope) GetMatchPresenceEvent ¶
func (m *Envelope) GetMatchPresenceEvent() *MatchPresenceEvent
func (*Envelope) GetMatchmakerAdd ¶
func (m *Envelope) GetMatchmakerAdd() *MatchmakerAdd
func (*Envelope) GetMatchmakerMatched ¶
func (m *Envelope) GetMatchmakerMatched() *MatchmakerMatched
func (*Envelope) GetMatchmakerRemove ¶
func (m *Envelope) GetMatchmakerRemove() *MatchmakerRemove
func (*Envelope) GetMatchmakerTicket ¶
func (m *Envelope) GetMatchmakerTicket() *MatchmakerTicket
func (*Envelope) GetMessage ¶
func (m *Envelope) GetMessage() isEnvelope_Message
func (*Envelope) GetNotifications ¶
func (m *Envelope) GetNotifications() *Notifications
func (*Envelope) GetStatusFollow ¶
func (m *Envelope) GetStatusFollow() *StatusFollow
func (*Envelope) GetStatusPresenceEvent ¶
func (m *Envelope) GetStatusPresenceEvent() *StatusPresenceEvent
func (*Envelope) GetStatusUnfollow ¶
func (m *Envelope) GetStatusUnfollow() *StatusUnfollow
func (*Envelope) GetStatusUpdate ¶
func (m *Envelope) GetStatusUpdate() *StatusUpdate
func (*Envelope) GetStreamData ¶
func (m *Envelope) GetStreamData() *StreamData
func (*Envelope) GetStreamPresenceEvent ¶
func (m *Envelope) GetStreamPresenceEvent() *StreamPresenceEvent
func (*Envelope) ProtoMessage ¶
func (*Envelope) ProtoMessage()
func (*Envelope) XXX_DiscardUnknown ¶
func (m *Envelope) XXX_DiscardUnknown()
func (*Envelope) XXX_Marshal ¶
func (*Envelope) XXX_OneofWrappers ¶
func (*Envelope) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Envelope) XXX_Unmarshal ¶
type Envelope_Channel ¶
type Envelope_Channel struct {
Channel *Channel `protobuf:"bytes,2,opt,name=channel,proto3,oneof"`
}
type Envelope_ChannelJoin ¶
type Envelope_ChannelJoin struct {
ChannelJoin *ChannelJoin `protobuf:"bytes,3,opt,name=channel_join,json=channelJoin,proto3,oneof"`
}
type Envelope_ChannelLeave ¶
type Envelope_ChannelLeave struct {
ChannelLeave *ChannelLeave `protobuf:"bytes,4,opt,name=channel_leave,json=channelLeave,proto3,oneof"`
}
type Envelope_ChannelMessage ¶
type Envelope_ChannelMessage struct {
ChannelMessage *api.ChannelMessage `protobuf:"bytes,5,opt,name=channel_message,json=channelMessage,proto3,oneof"`
}
type Envelope_ChannelMessageAck ¶
type Envelope_ChannelMessageAck struct {
ChannelMessageAck *ChannelMessageAck `protobuf:"bytes,6,opt,name=channel_message_ack,json=channelMessageAck,proto3,oneof"`
}
type Envelope_ChannelMessageRemove ¶
type Envelope_ChannelMessageRemove struct {
ChannelMessageRemove *ChannelMessageRemove `protobuf:"bytes,9,opt,name=channel_message_remove,json=channelMessageRemove,proto3,oneof"`
}
type Envelope_ChannelMessageSend ¶
type Envelope_ChannelMessageSend struct {
ChannelMessageSend *ChannelMessageSend `protobuf:"bytes,7,opt,name=channel_message_send,json=channelMessageSend,proto3,oneof"`
}
type Envelope_ChannelMessageUpdate ¶
type Envelope_ChannelMessageUpdate struct {
ChannelMessageUpdate *ChannelMessageUpdate `protobuf:"bytes,8,opt,name=channel_message_update,json=channelMessageUpdate,proto3,oneof"`
}
type Envelope_ChannelPresenceEvent ¶
type Envelope_ChannelPresenceEvent struct {
ChannelPresenceEvent *ChannelPresenceEvent `protobuf:"bytes,10,opt,name=channel_presence_event,json=channelPresenceEvent,proto3,oneof"`
}
type Envelope_Error ¶
type Envelope_Error struct {
Error *Error `protobuf:"bytes,11,opt,name=error,proto3,oneof"`
}
type Envelope_Match ¶
type Envelope_Match struct {
Match *Match `protobuf:"bytes,12,opt,name=match,proto3,oneof"`
}
type Envelope_MatchCreate ¶
type Envelope_MatchCreate struct {
MatchCreate *MatchCreate `protobuf:"bytes,13,opt,name=match_create,json=matchCreate,proto3,oneof"`
}
type Envelope_MatchData ¶
type Envelope_MatchData struct {
MatchData *MatchData `protobuf:"bytes,14,opt,name=match_data,json=matchData,proto3,oneof"`
}
type Envelope_MatchDataSend ¶
type Envelope_MatchDataSend struct {
MatchDataSend *MatchDataSend `protobuf:"bytes,15,opt,name=match_data_send,json=matchDataSend,proto3,oneof"`
}
type Envelope_MatchJoin ¶
type Envelope_MatchJoin struct {
MatchJoin *MatchJoin `protobuf:"bytes,16,opt,name=match_join,json=matchJoin,proto3,oneof"`
}
type Envelope_MatchLeave ¶
type Envelope_MatchLeave struct {
MatchLeave *MatchLeave `protobuf:"bytes,17,opt,name=match_leave,json=matchLeave,proto3,oneof"`
}
type Envelope_MatchPresenceEvent ¶
type Envelope_MatchPresenceEvent struct {
MatchPresenceEvent *MatchPresenceEvent `protobuf:"bytes,18,opt,name=match_presence_event,json=matchPresenceEvent,proto3,oneof"`
}
type Envelope_MatchmakerAdd ¶
type Envelope_MatchmakerAdd struct {
MatchmakerAdd *MatchmakerAdd `protobuf:"bytes,19,opt,name=matchmaker_add,json=matchmakerAdd,proto3,oneof"`
}
type Envelope_MatchmakerMatched ¶
type Envelope_MatchmakerMatched struct {
MatchmakerMatched *MatchmakerMatched `protobuf:"bytes,20,opt,name=matchmaker_matched,json=matchmakerMatched,proto3,oneof"`
}
type Envelope_MatchmakerRemove ¶
type Envelope_MatchmakerRemove struct {
MatchmakerRemove *MatchmakerRemove `protobuf:"bytes,21,opt,name=matchmaker_remove,json=matchmakerRemove,proto3,oneof"`
}
type Envelope_MatchmakerTicket ¶
type Envelope_MatchmakerTicket struct {
MatchmakerTicket *MatchmakerTicket `protobuf:"bytes,22,opt,name=matchmaker_ticket,json=matchmakerTicket,proto3,oneof"`
}
type Envelope_Notifications ¶
type Envelope_Notifications struct {
Notifications *Notifications `protobuf:"bytes,23,opt,name=notifications,proto3,oneof"`
}
type Envelope_Rpc ¶
type Envelope_Status ¶
type Envelope_Status struct {
Status *Status `protobuf:"bytes,25,opt,name=status,proto3,oneof"`
}
type Envelope_StatusFollow ¶
type Envelope_StatusFollow struct {
StatusFollow *StatusFollow `protobuf:"bytes,26,opt,name=status_follow,json=statusFollow,proto3,oneof"`
}
type Envelope_StatusPresenceEvent ¶
type Envelope_StatusPresenceEvent struct {
StatusPresenceEvent *StatusPresenceEvent `protobuf:"bytes,27,opt,name=status_presence_event,json=statusPresenceEvent,proto3,oneof"`
}
type Envelope_StatusUnfollow ¶
type Envelope_StatusUnfollow struct {
StatusUnfollow *StatusUnfollow `protobuf:"bytes,28,opt,name=status_unfollow,json=statusUnfollow,proto3,oneof"`
}
type Envelope_StatusUpdate ¶
type Envelope_StatusUpdate struct {
StatusUpdate *StatusUpdate `protobuf:"bytes,29,opt,name=status_update,json=statusUpdate,proto3,oneof"`
}
type Envelope_StreamData ¶
type Envelope_StreamData struct {
StreamData *StreamData `protobuf:"bytes,30,opt,name=stream_data,json=streamData,proto3,oneof"`
}
type Envelope_StreamPresenceEvent ¶
type Envelope_StreamPresenceEvent struct {
StreamPresenceEvent *StreamPresenceEvent `protobuf:"bytes,31,opt,name=stream_presence_event,json=streamPresenceEvent,proto3,oneof"`
}
type Error ¶
type Error struct { // The error code which should be one of "Error.Code" enums. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // A message in English to help developers debug the response. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // Additional error details which may be different for each response. Context map[string]string `` /* 155-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A logical error which may occur on the server.
func (*Error) Descriptor ¶
func (*Error) GetContext ¶
func (*Error) GetMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) XXX_DiscardUnknown ¶
func (m *Error) XXX_DiscardUnknown()
func (*Error) XXX_Marshal ¶
func (*Error) XXX_Unmarshal ¶
type Error_Code ¶
type Error_Code int32
The selection of possible error codes.
const ( // An unexpected result from the server. Error_RUNTIME_EXCEPTION Error_Code = 0 // The server received a message which is not recognised. Error_UNRECOGNIZED_PAYLOAD Error_Code = 1 // A message was expected but contains no content. Error_MISSING_PAYLOAD Error_Code = 2 // Fields in the message have an invalid format. Error_BAD_INPUT Error_Code = 3 // The match id was not found. Error_MATCH_NOT_FOUND Error_Code = 4 // The match join was rejected. Error_MATCH_JOIN_REJECTED Error_Code = 5 // The runtime function does not exist on the server. Error_RUNTIME_FUNCTION_NOT_FOUND Error_Code = 6 // The runtime function executed with an error. Error_RUNTIME_FUNCTION_EXCEPTION Error_Code = 7 )
func (Error_Code) EnumDescriptor ¶
func (Error_Code) EnumDescriptor() ([]byte, []int)
func (Error_Code) String ¶
func (x Error_Code) String() string
type Match ¶
type Match struct { // The match unique ID. MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` // True if it's an server-managed authoritative match, false otherwise. Authoritative bool `protobuf:"varint,2,opt,name=authoritative,proto3" json:"authoritative,omitempty"` // Match label, if any. Label *wrappers.StringValue `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` // The number of users currently in the match. Size int32 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` // The users currently in the match. Presences []*UserPresence `protobuf:"bytes,5,rep,name=presences,proto3" json:"presences,omitempty"` // A reference to the current user's presence in the match. Self *UserPresence `protobuf:"bytes,6,opt,name=self,proto3" json:"self,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A realtime match.
func (*Match) Descriptor ¶
func (*Match) GetAuthoritative ¶
func (*Match) GetLabel ¶
func (m *Match) GetLabel() *wrappers.StringValue
func (*Match) GetMatchId ¶
func (*Match) GetPresences ¶
func (m *Match) GetPresences() []*UserPresence
func (*Match) GetSelf ¶
func (m *Match) GetSelf() *UserPresence
func (*Match) ProtoMessage ¶
func (*Match) ProtoMessage()
func (*Match) XXX_DiscardUnknown ¶
func (m *Match) XXX_DiscardUnknown()
func (*Match) XXX_Marshal ¶
func (*Match) XXX_Unmarshal ¶
type MatchCreate ¶
type MatchCreate struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Create a new realtime match.
func (*MatchCreate) Descriptor ¶
func (*MatchCreate) Descriptor() ([]byte, []int)
func (*MatchCreate) ProtoMessage ¶
func (*MatchCreate) ProtoMessage()
func (*MatchCreate) Reset ¶
func (m *MatchCreate) Reset()
func (*MatchCreate) String ¶
func (m *MatchCreate) String() string
func (*MatchCreate) XXX_DiscardUnknown ¶
func (m *MatchCreate) XXX_DiscardUnknown()
func (*MatchCreate) XXX_Marshal ¶
func (m *MatchCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MatchCreate) XXX_Merge ¶
func (m *MatchCreate) XXX_Merge(src proto.Message)
func (*MatchCreate) XXX_Size ¶
func (m *MatchCreate) XXX_Size() int
func (*MatchCreate) XXX_Unmarshal ¶
func (m *MatchCreate) XXX_Unmarshal(b []byte) error
type MatchData ¶
type MatchData struct { // The match unique ID. MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` // A reference to the user presence that sent this data, if any. Presence *UserPresence `protobuf:"bytes,2,opt,name=presence,proto3" json:"presence,omitempty"` // Op code value. OpCode int64 `protobuf:"varint,3,opt,name=op_code,json=opCode,proto3" json:"op_code,omitempty"` // Data payload, if any. Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Realtime match data received from the server.
func (*MatchData) Descriptor ¶
func (*MatchData) GetMatchId ¶
func (*MatchData) GetPresence ¶
func (m *MatchData) GetPresence() *UserPresence
func (*MatchData) ProtoMessage ¶
func (*MatchData) ProtoMessage()
func (*MatchData) XXX_DiscardUnknown ¶
func (m *MatchData) XXX_DiscardUnknown()
func (*MatchData) XXX_Marshal ¶
func (*MatchData) XXX_Unmarshal ¶
type MatchDataSend ¶
type MatchDataSend struct { // The match unique ID. MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` // Op code value. OpCode int64 `protobuf:"varint,2,opt,name=op_code,json=opCode,proto3" json:"op_code,omitempty"` // Data payload, if any. Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // List of presences in the match to deliver to, if filtering is required. Otherwise deliver to everyone in the match. Presences []*UserPresence `protobuf:"bytes,4,rep,name=presences,proto3" json:"presences,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Send realtime match data to the server.
func (*MatchDataSend) Descriptor ¶
func (*MatchDataSend) Descriptor() ([]byte, []int)
func (*MatchDataSend) GetData ¶
func (m *MatchDataSend) GetData() []byte
func (*MatchDataSend) GetMatchId ¶
func (m *MatchDataSend) GetMatchId() string
func (*MatchDataSend) GetOpCode ¶
func (m *MatchDataSend) GetOpCode() int64
func (*MatchDataSend) GetPresences ¶
func (m *MatchDataSend) GetPresences() []*UserPresence
func (*MatchDataSend) ProtoMessage ¶
func (*MatchDataSend) ProtoMessage()
func (*MatchDataSend) Reset ¶
func (m *MatchDataSend) Reset()
func (*MatchDataSend) String ¶
func (m *MatchDataSend) String() string
func (*MatchDataSend) XXX_DiscardUnknown ¶
func (m *MatchDataSend) XXX_DiscardUnknown()
func (*MatchDataSend) XXX_Marshal ¶
func (m *MatchDataSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MatchDataSend) XXX_Merge ¶
func (m *MatchDataSend) XXX_Merge(src proto.Message)
func (*MatchDataSend) XXX_Size ¶
func (m *MatchDataSend) XXX_Size() int
func (*MatchDataSend) XXX_Unmarshal ¶
func (m *MatchDataSend) XXX_Unmarshal(b []byte) error
type MatchJoin ¶
type MatchJoin struct { // Types that are valid to be assigned to Id: // *MatchJoin_MatchId // *MatchJoin_Token Id isMatchJoin_Id `protobuf_oneof:"id"` // An optional set of key-value metadata pairs to be passed to the match handler, if any. Metadata map[string]string `` /* 157-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Join an existing realtime match.
func (*MatchJoin) Descriptor ¶
func (*MatchJoin) GetMatchId ¶
func (*MatchJoin) GetMetadata ¶
func (*MatchJoin) ProtoMessage ¶
func (*MatchJoin) ProtoMessage()
func (*MatchJoin) XXX_DiscardUnknown ¶
func (m *MatchJoin) XXX_DiscardUnknown()
func (*MatchJoin) XXX_Marshal ¶
func (*MatchJoin) XXX_OneofWrappers ¶
func (*MatchJoin) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*MatchJoin) XXX_Unmarshal ¶
type MatchJoin_MatchId ¶
type MatchJoin_MatchId struct {
MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3,oneof"`
}
type MatchJoin_Token ¶
type MatchJoin_Token struct {
Token string `protobuf:"bytes,2,opt,name=token,proto3,oneof"`
}
type MatchLeave ¶
type MatchLeave struct { // The match unique ID. MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Leave a realtime match.
func (*MatchLeave) Descriptor ¶
func (*MatchLeave) Descriptor() ([]byte, []int)
func (*MatchLeave) GetMatchId ¶
func (m *MatchLeave) GetMatchId() string
func (*MatchLeave) ProtoMessage ¶
func (*MatchLeave) ProtoMessage()
func (*MatchLeave) Reset ¶
func (m *MatchLeave) Reset()
func (*MatchLeave) String ¶
func (m *MatchLeave) String() string
func (*MatchLeave) XXX_DiscardUnknown ¶
func (m *MatchLeave) XXX_DiscardUnknown()
func (*MatchLeave) XXX_Marshal ¶
func (m *MatchLeave) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MatchLeave) XXX_Merge ¶
func (m *MatchLeave) XXX_Merge(src proto.Message)
func (*MatchLeave) XXX_Size ¶
func (m *MatchLeave) XXX_Size() int
func (*MatchLeave) XXX_Unmarshal ¶
func (m *MatchLeave) XXX_Unmarshal(b []byte) error
type MatchPresenceEvent ¶
type MatchPresenceEvent struct { // The match unique ID. MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` // User presences that have just joined the match. Joins []*UserPresence `protobuf:"bytes,2,rep,name=joins,proto3" json:"joins,omitempty"` // User presences that have just left the match. Leaves []*UserPresence `protobuf:"bytes,3,rep,name=leaves,proto3" json:"leaves,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A set of joins and leaves on a particular realtime match.
func (*MatchPresenceEvent) Descriptor ¶
func (*MatchPresenceEvent) Descriptor() ([]byte, []int)
func (*MatchPresenceEvent) GetJoins ¶
func (m *MatchPresenceEvent) GetJoins() []*UserPresence
func (*MatchPresenceEvent) GetLeaves ¶
func (m *MatchPresenceEvent) GetLeaves() []*UserPresence
func (*MatchPresenceEvent) GetMatchId ¶
func (m *MatchPresenceEvent) GetMatchId() string
func (*MatchPresenceEvent) ProtoMessage ¶
func (*MatchPresenceEvent) ProtoMessage()
func (*MatchPresenceEvent) Reset ¶
func (m *MatchPresenceEvent) Reset()
func (*MatchPresenceEvent) String ¶
func (m *MatchPresenceEvent) String() string
func (*MatchPresenceEvent) XXX_DiscardUnknown ¶
func (m *MatchPresenceEvent) XXX_DiscardUnknown()
func (*MatchPresenceEvent) XXX_Marshal ¶
func (m *MatchPresenceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MatchPresenceEvent) XXX_Merge ¶
func (m *MatchPresenceEvent) XXX_Merge(src proto.Message)
func (*MatchPresenceEvent) XXX_Size ¶
func (m *MatchPresenceEvent) XXX_Size() int
func (*MatchPresenceEvent) XXX_Unmarshal ¶
func (m *MatchPresenceEvent) XXX_Unmarshal(b []byte) error
type MatchmakerAdd ¶
type MatchmakerAdd struct { // Minimum total user count to match together. MinCount int32 `protobuf:"varint,1,opt,name=min_count,json=minCount,proto3" json:"min_count,omitempty"` // Maximum total user count to match together. MaxCount int32 `protobuf:"varint,2,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` // Filter query used to identify suitable users. Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` // String properties. StringProperties map[string]string `` /* 197-byte string literal not displayed */ // Numeric properties. NumericProperties map[string]float64 `` /* 202-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Start a new matchmaking process.
func (*MatchmakerAdd) Descriptor ¶
func (*MatchmakerAdd) Descriptor() ([]byte, []int)
func (*MatchmakerAdd) GetMaxCount ¶
func (m *MatchmakerAdd) GetMaxCount() int32
func (*MatchmakerAdd) GetMinCount ¶
func (m *MatchmakerAdd) GetMinCount() int32
func (*MatchmakerAdd) GetNumericProperties ¶
func (m *MatchmakerAdd) GetNumericProperties() map[string]float64
func (*MatchmakerAdd) GetQuery ¶
func (m *MatchmakerAdd) GetQuery() string
func (*MatchmakerAdd) GetStringProperties ¶
func (m *MatchmakerAdd) GetStringProperties() map[string]string
func (*MatchmakerAdd) ProtoMessage ¶
func (*MatchmakerAdd) ProtoMessage()
func (*MatchmakerAdd) Reset ¶
func (m *MatchmakerAdd) Reset()
func (*MatchmakerAdd) String ¶
func (m *MatchmakerAdd) String() string
func (*MatchmakerAdd) XXX_DiscardUnknown ¶
func (m *MatchmakerAdd) XXX_DiscardUnknown()
func (*MatchmakerAdd) XXX_Marshal ¶
func (m *MatchmakerAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MatchmakerAdd) XXX_Merge ¶
func (m *MatchmakerAdd) XXX_Merge(src proto.Message)
func (*MatchmakerAdd) XXX_Size ¶
func (m *MatchmakerAdd) XXX_Size() int
func (*MatchmakerAdd) XXX_Unmarshal ¶
func (m *MatchmakerAdd) XXX_Unmarshal(b []byte) error
type MatchmakerMatched ¶
type MatchmakerMatched struct { // The matchmaking ticket that has completed. Ticket string `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"` // The match token or match ID to join. // // Types that are valid to be assigned to Id: // *MatchmakerMatched_MatchId // *MatchmakerMatched_Token Id isMatchmakerMatched_Id `protobuf_oneof:"id"` // The users that have been matched together, and information about their matchmaking data. Users []*MatchmakerMatched_MatchmakerUser `protobuf:"bytes,4,rep,name=users,proto3" json:"users,omitempty"` // A reference to the current user and their properties. Self *MatchmakerMatched_MatchmakerUser `protobuf:"bytes,5,opt,name=self,proto3" json:"self,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A successful matchmaking result.
func (*MatchmakerMatched) Descriptor ¶
func (*MatchmakerMatched) Descriptor() ([]byte, []int)
func (*MatchmakerMatched) GetId ¶
func (m *MatchmakerMatched) GetId() isMatchmakerMatched_Id
func (*MatchmakerMatched) GetMatchId ¶
func (m *MatchmakerMatched) GetMatchId() string
func (*MatchmakerMatched) GetSelf ¶
func (m *MatchmakerMatched) GetSelf() *MatchmakerMatched_MatchmakerUser
func (*MatchmakerMatched) GetTicket ¶
func (m *MatchmakerMatched) GetTicket() string
func (*MatchmakerMatched) GetToken ¶
func (m *MatchmakerMatched) GetToken() string
func (*MatchmakerMatched) GetUsers ¶
func (m *MatchmakerMatched) GetUsers() []*MatchmakerMatched_MatchmakerUser
func (*MatchmakerMatched) ProtoMessage ¶
func (*MatchmakerMatched) ProtoMessage()
func (*MatchmakerMatched) Reset ¶
func (m *MatchmakerMatched) Reset()
func (*MatchmakerMatched) String ¶
func (m *MatchmakerMatched) String() string
func (*MatchmakerMatched) XXX_DiscardUnknown ¶
func (m *MatchmakerMatched) XXX_DiscardUnknown()
func (*MatchmakerMatched) XXX_Marshal ¶
func (m *MatchmakerMatched) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MatchmakerMatched) XXX_Merge ¶
func (m *MatchmakerMatched) XXX_Merge(src proto.Message)
func (*MatchmakerMatched) XXX_OneofWrappers ¶
func (*MatchmakerMatched) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*MatchmakerMatched) XXX_Size ¶
func (m *MatchmakerMatched) XXX_Size() int
func (*MatchmakerMatched) XXX_Unmarshal ¶
func (m *MatchmakerMatched) XXX_Unmarshal(b []byte) error
type MatchmakerMatched_MatchId ¶
type MatchmakerMatched_MatchId struct {
MatchId string `protobuf:"bytes,2,opt,name=match_id,json=matchId,proto3,oneof"`
}
type MatchmakerMatched_MatchmakerUser ¶
type MatchmakerMatched_MatchmakerUser struct { // User info. Presence *UserPresence `protobuf:"bytes,1,opt,name=presence,proto3" json:"presence,omitempty"` // String properties. StringProperties map[string]string `` /* 197-byte string literal not displayed */ // Numeric properties. NumericProperties map[string]float64 `` /* 202-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MatchmakerMatched_MatchmakerUser) Descriptor ¶
func (*MatchmakerMatched_MatchmakerUser) Descriptor() ([]byte, []int)
func (*MatchmakerMatched_MatchmakerUser) GetNumericProperties ¶
func (m *MatchmakerMatched_MatchmakerUser) GetNumericProperties() map[string]float64
func (*MatchmakerMatched_MatchmakerUser) GetPresence ¶
func (m *MatchmakerMatched_MatchmakerUser) GetPresence() *UserPresence
func (*MatchmakerMatched_MatchmakerUser) GetStringProperties ¶
func (m *MatchmakerMatched_MatchmakerUser) GetStringProperties() map[string]string
func (*MatchmakerMatched_MatchmakerUser) ProtoMessage ¶
func (*MatchmakerMatched_MatchmakerUser) ProtoMessage()
func (*MatchmakerMatched_MatchmakerUser) Reset ¶
func (m *MatchmakerMatched_MatchmakerUser) Reset()
func (*MatchmakerMatched_MatchmakerUser) String ¶
func (m *MatchmakerMatched_MatchmakerUser) String() string
func (*MatchmakerMatched_MatchmakerUser) XXX_DiscardUnknown ¶
func (m *MatchmakerMatched_MatchmakerUser) XXX_DiscardUnknown()
func (*MatchmakerMatched_MatchmakerUser) XXX_Marshal ¶
func (m *MatchmakerMatched_MatchmakerUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MatchmakerMatched_MatchmakerUser) XXX_Merge ¶
func (m *MatchmakerMatched_MatchmakerUser) XXX_Merge(src proto.Message)
func (*MatchmakerMatched_MatchmakerUser) XXX_Size ¶
func (m *MatchmakerMatched_MatchmakerUser) XXX_Size() int
func (*MatchmakerMatched_MatchmakerUser) XXX_Unmarshal ¶
func (m *MatchmakerMatched_MatchmakerUser) XXX_Unmarshal(b []byte) error
type MatchmakerMatched_Token ¶
type MatchmakerMatched_Token struct {
Token string `protobuf:"bytes,3,opt,name=token,proto3,oneof"`
}
type MatchmakerRemove ¶
type MatchmakerRemove struct { // The ticket to cancel. Ticket string `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Cancel an existing ongoing matchmaking process.
func (*MatchmakerRemove) Descriptor ¶
func (*MatchmakerRemove) Descriptor() ([]byte, []int)
func (*MatchmakerRemove) GetTicket ¶
func (m *MatchmakerRemove) GetTicket() string
func (*MatchmakerRemove) ProtoMessage ¶
func (*MatchmakerRemove) ProtoMessage()
func (*MatchmakerRemove) Reset ¶
func (m *MatchmakerRemove) Reset()
func (*MatchmakerRemove) String ¶
func (m *MatchmakerRemove) String() string
func (*MatchmakerRemove) XXX_DiscardUnknown ¶
func (m *MatchmakerRemove) XXX_DiscardUnknown()
func (*MatchmakerRemove) XXX_Marshal ¶
func (m *MatchmakerRemove) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MatchmakerRemove) XXX_Merge ¶
func (m *MatchmakerRemove) XXX_Merge(src proto.Message)
func (*MatchmakerRemove) XXX_Size ¶
func (m *MatchmakerRemove) XXX_Size() int
func (*MatchmakerRemove) XXX_Unmarshal ¶
func (m *MatchmakerRemove) XXX_Unmarshal(b []byte) error
type MatchmakerTicket ¶
type MatchmakerTicket struct { // The ticket that can be used to cancel matchmaking. Ticket string `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A ticket representing a new matchmaking process.
func (*MatchmakerTicket) Descriptor ¶
func (*MatchmakerTicket) Descriptor() ([]byte, []int)
func (*MatchmakerTicket) GetTicket ¶
func (m *MatchmakerTicket) GetTicket() string
func (*MatchmakerTicket) ProtoMessage ¶
func (*MatchmakerTicket) ProtoMessage()
func (*MatchmakerTicket) Reset ¶
func (m *MatchmakerTicket) Reset()
func (*MatchmakerTicket) String ¶
func (m *MatchmakerTicket) String() string
func (*MatchmakerTicket) XXX_DiscardUnknown ¶
func (m *MatchmakerTicket) XXX_DiscardUnknown()
func (*MatchmakerTicket) XXX_Marshal ¶
func (m *MatchmakerTicket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MatchmakerTicket) XXX_Merge ¶
func (m *MatchmakerTicket) XXX_Merge(src proto.Message)
func (*MatchmakerTicket) XXX_Size ¶
func (m *MatchmakerTicket) XXX_Size() int
func (*MatchmakerTicket) XXX_Unmarshal ¶
func (m *MatchmakerTicket) XXX_Unmarshal(b []byte) error
type Notifications ¶
type Notifications struct { // Collection of notifications. Notifications []*api.Notification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A collection of zero or more notifications.
func (*Notifications) Descriptor ¶
func (*Notifications) Descriptor() ([]byte, []int)
func (*Notifications) GetNotifications ¶
func (m *Notifications) GetNotifications() []*api.Notification
func (*Notifications) ProtoMessage ¶
func (*Notifications) ProtoMessage()
func (*Notifications) Reset ¶
func (m *Notifications) Reset()
func (*Notifications) String ¶
func (m *Notifications) String() string
func (*Notifications) XXX_DiscardUnknown ¶
func (m *Notifications) XXX_DiscardUnknown()
func (*Notifications) XXX_Marshal ¶
func (m *Notifications) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Notifications) XXX_Merge ¶
func (m *Notifications) XXX_Merge(src proto.Message)
func (*Notifications) XXX_Size ¶
func (m *Notifications) XXX_Size() int
func (*Notifications) XXX_Unmarshal ¶
func (m *Notifications) XXX_Unmarshal(b []byte) error
type Status ¶
type Status struct { // User statuses. Presences []*UserPresence `protobuf:"bytes,1,rep,name=presences,proto3" json:"presences,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A snapshot of statuses for some set of users.
func (*Status) Descriptor ¶
func (*Status) GetPresences ¶
func (m *Status) GetPresences() []*UserPresence
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) XXX_DiscardUnknown ¶
func (m *Status) XXX_DiscardUnknown()
func (*Status) XXX_Marshal ¶
func (*Status) XXX_Unmarshal ¶
type StatusFollow ¶
type StatusFollow struct { // Users to follow. UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Start receiving status updates for some set of users.
func (*StatusFollow) Descriptor ¶
func (*StatusFollow) Descriptor() ([]byte, []int)
func (*StatusFollow) GetUserIds ¶
func (m *StatusFollow) GetUserIds() []string
func (*StatusFollow) ProtoMessage ¶
func (*StatusFollow) ProtoMessage()
func (*StatusFollow) Reset ¶
func (m *StatusFollow) Reset()
func (*StatusFollow) String ¶
func (m *StatusFollow) String() string
func (*StatusFollow) XXX_DiscardUnknown ¶
func (m *StatusFollow) XXX_DiscardUnknown()
func (*StatusFollow) XXX_Marshal ¶
func (m *StatusFollow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusFollow) XXX_Merge ¶
func (m *StatusFollow) XXX_Merge(src proto.Message)
func (*StatusFollow) XXX_Size ¶
func (m *StatusFollow) XXX_Size() int
func (*StatusFollow) XXX_Unmarshal ¶
func (m *StatusFollow) XXX_Unmarshal(b []byte) error
type StatusPresenceEvent ¶
type StatusPresenceEvent struct { // New statuses for the user. Joins []*UserPresence `protobuf:"bytes,2,rep,name=joins,proto3" json:"joins,omitempty"` // Previous statuses for the user. Leaves []*UserPresence `protobuf:"bytes,3,rep,name=leaves,proto3" json:"leaves,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A batch of status updates for a given user.
func (*StatusPresenceEvent) Descriptor ¶
func (*StatusPresenceEvent) Descriptor() ([]byte, []int)
func (*StatusPresenceEvent) GetJoins ¶
func (m *StatusPresenceEvent) GetJoins() []*UserPresence
func (*StatusPresenceEvent) GetLeaves ¶
func (m *StatusPresenceEvent) GetLeaves() []*UserPresence
func (*StatusPresenceEvent) ProtoMessage ¶
func (*StatusPresenceEvent) ProtoMessage()
func (*StatusPresenceEvent) Reset ¶
func (m *StatusPresenceEvent) Reset()
func (*StatusPresenceEvent) String ¶
func (m *StatusPresenceEvent) String() string
func (*StatusPresenceEvent) XXX_DiscardUnknown ¶
func (m *StatusPresenceEvent) XXX_DiscardUnknown()
func (*StatusPresenceEvent) XXX_Marshal ¶
func (m *StatusPresenceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusPresenceEvent) XXX_Merge ¶
func (m *StatusPresenceEvent) XXX_Merge(src proto.Message)
func (*StatusPresenceEvent) XXX_Size ¶
func (m *StatusPresenceEvent) XXX_Size() int
func (*StatusPresenceEvent) XXX_Unmarshal ¶
func (m *StatusPresenceEvent) XXX_Unmarshal(b []byte) error
type StatusUnfollow ¶
type StatusUnfollow struct { // Users to unfollow. UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Stop receiving status updates for some set of users.
func (*StatusUnfollow) Descriptor ¶
func (*StatusUnfollow) Descriptor() ([]byte, []int)
func (*StatusUnfollow) GetUserIds ¶
func (m *StatusUnfollow) GetUserIds() []string
func (*StatusUnfollow) ProtoMessage ¶
func (*StatusUnfollow) ProtoMessage()
func (*StatusUnfollow) Reset ¶
func (m *StatusUnfollow) Reset()
func (*StatusUnfollow) String ¶
func (m *StatusUnfollow) String() string
func (*StatusUnfollow) XXX_DiscardUnknown ¶
func (m *StatusUnfollow) XXX_DiscardUnknown()
func (*StatusUnfollow) XXX_Marshal ¶
func (m *StatusUnfollow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusUnfollow) XXX_Merge ¶
func (m *StatusUnfollow) XXX_Merge(src proto.Message)
func (*StatusUnfollow) XXX_Size ¶
func (m *StatusUnfollow) XXX_Size() int
func (*StatusUnfollow) XXX_Unmarshal ¶
func (m *StatusUnfollow) XXX_Unmarshal(b []byte) error
type StatusUpdate ¶
type StatusUpdate struct { // Status string to set, if not present the user will appear offline. Status *wrappers.StringValue `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Set the user's own status.
func (*StatusUpdate) Descriptor ¶
func (*StatusUpdate) Descriptor() ([]byte, []int)
func (*StatusUpdate) GetStatus ¶
func (m *StatusUpdate) GetStatus() *wrappers.StringValue
func (*StatusUpdate) ProtoMessage ¶
func (*StatusUpdate) ProtoMessage()
func (*StatusUpdate) Reset ¶
func (m *StatusUpdate) Reset()
func (*StatusUpdate) String ¶
func (m *StatusUpdate) String() string
func (*StatusUpdate) XXX_DiscardUnknown ¶
func (m *StatusUpdate) XXX_DiscardUnknown()
func (*StatusUpdate) XXX_Marshal ¶
func (m *StatusUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusUpdate) XXX_Merge ¶
func (m *StatusUpdate) XXX_Merge(src proto.Message)
func (*StatusUpdate) XXX_Size ¶
func (m *StatusUpdate) XXX_Size() int
func (*StatusUpdate) XXX_Unmarshal ¶
func (m *StatusUpdate) XXX_Unmarshal(b []byte) error
type Stream ¶
type Stream struct { // Mode identifies the type of stream. Mode int32 `protobuf:"varint,1,opt,name=mode,proto3" json:"mode,omitempty"` // Subject is the primary identifier, if any. Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` // Subcontext is a secondary identifier, if any. Subcontext string `protobuf:"bytes,3,opt,name=subcontext,proto3" json:"subcontext,omitempty"` // The label is an arbitrary identifying string, if the stream has one. Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents identifying information for a stream.
func (*Stream) Descriptor ¶
func (*Stream) GetSubcontext ¶
func (*Stream) GetSubject ¶
func (*Stream) ProtoMessage ¶
func (*Stream) ProtoMessage()
func (*Stream) XXX_DiscardUnknown ¶
func (m *Stream) XXX_DiscardUnknown()
func (*Stream) XXX_Marshal ¶
func (*Stream) XXX_Unmarshal ¶
type StreamData ¶
type StreamData struct { // The stream this data message relates to. Stream *Stream `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"` // The sender, if any. Sender *UserPresence `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` // Arbitrary contents of the data message. Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A data message delivered over a stream.
func (*StreamData) Descriptor ¶
func (*StreamData) Descriptor() ([]byte, []int)
func (*StreamData) GetData ¶
func (m *StreamData) GetData() string
func (*StreamData) GetSender ¶
func (m *StreamData) GetSender() *UserPresence
func (*StreamData) GetStream ¶
func (m *StreamData) GetStream() *Stream
func (*StreamData) ProtoMessage ¶
func (*StreamData) ProtoMessage()
func (*StreamData) Reset ¶
func (m *StreamData) Reset()
func (*StreamData) String ¶
func (m *StreamData) String() string
func (*StreamData) XXX_DiscardUnknown ¶
func (m *StreamData) XXX_DiscardUnknown()
func (*StreamData) XXX_Marshal ¶
func (m *StreamData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamData) XXX_Merge ¶
func (m *StreamData) XXX_Merge(src proto.Message)
func (*StreamData) XXX_Size ¶
func (m *StreamData) XXX_Size() int
func (*StreamData) XXX_Unmarshal ¶
func (m *StreamData) XXX_Unmarshal(b []byte) error
type StreamPresenceEvent ¶
type StreamPresenceEvent struct { // The stream this event relates to. Stream *Stream `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"` // Presences joining the stream as part of this event, if any. Joins []*UserPresence `protobuf:"bytes,2,rep,name=joins,proto3" json:"joins,omitempty"` // Presences leaving the stream as part of this event, if any. Leaves []*UserPresence `protobuf:"bytes,3,rep,name=leaves,proto3" json:"leaves,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A set of joins and leaves on a particular stream.
func (*StreamPresenceEvent) Descriptor ¶
func (*StreamPresenceEvent) Descriptor() ([]byte, []int)
func (*StreamPresenceEvent) GetJoins ¶
func (m *StreamPresenceEvent) GetJoins() []*UserPresence
func (*StreamPresenceEvent) GetLeaves ¶
func (m *StreamPresenceEvent) GetLeaves() []*UserPresence
func (*StreamPresenceEvent) GetStream ¶
func (m *StreamPresenceEvent) GetStream() *Stream
func (*StreamPresenceEvent) ProtoMessage ¶
func (*StreamPresenceEvent) ProtoMessage()
func (*StreamPresenceEvent) Reset ¶
func (m *StreamPresenceEvent) Reset()
func (*StreamPresenceEvent) String ¶
func (m *StreamPresenceEvent) String() string
func (*StreamPresenceEvent) XXX_DiscardUnknown ¶
func (m *StreamPresenceEvent) XXX_DiscardUnknown()
func (*StreamPresenceEvent) XXX_Marshal ¶
func (m *StreamPresenceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamPresenceEvent) XXX_Merge ¶
func (m *StreamPresenceEvent) XXX_Merge(src proto.Message)
func (*StreamPresenceEvent) XXX_Size ¶
func (m *StreamPresenceEvent) XXX_Size() int
func (*StreamPresenceEvent) XXX_Unmarshal ¶
func (m *StreamPresenceEvent) XXX_Unmarshal(b []byte) error
type UserPresence ¶
type UserPresence struct { // The user this presence belongs to. UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // A unique session ID identifying the particular connection, because the user may have many. SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // The username for display purposes. Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // Whether this presence generates persistent data/messages, if applicable for the stream type. Persistence bool `protobuf:"varint,4,opt,name=persistence,proto3" json:"persistence,omitempty"` // A user-set status message for this stream, if applicable. Status *wrappers.StringValue `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A user session associated to a stream, usually through a list operation or a join/leave event.
func (*UserPresence) Descriptor ¶
func (*UserPresence) Descriptor() ([]byte, []int)
func (*UserPresence) GetPersistence ¶
func (m *UserPresence) GetPersistence() bool
func (*UserPresence) GetSessionId ¶
func (m *UserPresence) GetSessionId() string
func (*UserPresence) GetStatus ¶
func (m *UserPresence) GetStatus() *wrappers.StringValue
func (*UserPresence) GetUserId ¶
func (m *UserPresence) GetUserId() string
func (*UserPresence) GetUsername ¶
func (m *UserPresence) GetUsername() string
func (*UserPresence) ProtoMessage ¶
func (*UserPresence) ProtoMessage()
func (*UserPresence) Reset ¶
func (m *UserPresence) Reset()
func (*UserPresence) String ¶
func (m *UserPresence) String() string
func (*UserPresence) XXX_DiscardUnknown ¶
func (m *UserPresence) XXX_DiscardUnknown()
func (*UserPresence) XXX_Marshal ¶
func (m *UserPresence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserPresence) XXX_Merge ¶
func (m *UserPresence) XXX_Merge(src proto.Message)
func (*UserPresence) XXX_Size ¶
func (m *UserPresence) XXX_Size() int
func (*UserPresence) XXX_Unmarshal ¶
func (m *UserPresence) XXX_Unmarshal(b []byte) error