Documentation ¶
Index ¶
- Variables
- type Command
- func (*Command) Descriptor() ([]byte, []int)deprecated
- func (x *Command) GetMethod() Command_MethodType
- func (x *Command) GetParams() []byte
- func (x *Command) GetUid() string
- func (m *Command) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Command) MarshalToVT(dAtA []byte) (int, error)
- func (m *Command) MarshalVT() (dAtA []byte, err error)
- func (*Command) ProtoMessage()
- func (x *Command) ProtoReflect() protoreflect.Message
- func (x *Command) Reset()
- func (m *Command) SizeVT() (n int)
- func (x *Command) String() string
- func (m *Command) UnmarshalVT(dAtA []byte) error
- type Command_MethodType
- func (Command_MethodType) Descriptor() protoreflect.EnumDescriptor
- func (x Command_MethodType) Enum() *Command_MethodType
- func (Command_MethodType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Command_MethodType) Number() protoreflect.EnumNumber
- func (x Command_MethodType) String() string
- func (Command_MethodType) Type() protoreflect.EnumType
- type Disconnect
- func (*Disconnect) Descriptor() ([]byte, []int)deprecated
- func (x *Disconnect) GetClient() string
- func (x *Disconnect) GetCode() uint32
- func (x *Disconnect) GetReason() string
- func (x *Disconnect) GetReconnect() bool
- func (x *Disconnect) GetSession() string
- func (x *Disconnect) GetUser() string
- func (x *Disconnect) GetWhitelist() []string
- func (m *Disconnect) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Disconnect) MarshalToVT(dAtA []byte) (int, error)
- func (m *Disconnect) MarshalVT() (dAtA []byte, err error)
- func (*Disconnect) ProtoMessage()
- func (x *Disconnect) ProtoReflect() protoreflect.Message
- func (x *Disconnect) Reset()
- func (m *Disconnect) SizeVT() (n int)
- func (x *Disconnect) String() string
- func (m *Disconnect) UnmarshalVT(dAtA []byte) error
- type Metrics
- func (*Metrics) Descriptor() ([]byte, []int)deprecated
- func (x *Metrics) GetInterval() float64
- func (x *Metrics) GetItems() map[string]float64
- func (m *Metrics) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Metrics) MarshalToVT(dAtA []byte) (int, error)
- func (m *Metrics) MarshalVT() (dAtA []byte, err error)
- func (*Metrics) ProtoMessage()
- func (x *Metrics) ProtoReflect() protoreflect.Message
- func (x *Metrics) Reset()
- func (m *Metrics) SizeVT() (n int)
- func (x *Metrics) String() string
- func (m *Metrics) UnmarshalVT(dAtA []byte) error
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetData() []byte
- func (x *Node) GetMetrics() *Metrics
- func (x *Node) GetName() string
- func (x *Node) GetNumChannels() uint32
- func (x *Node) GetNumClients() uint32
- func (x *Node) GetNumSubs() uint32
- func (x *Node) GetNumUsers() uint32
- func (x *Node) GetUid() string
- func (x *Node) GetUptime() uint32
- func (x *Node) GetVersion() string
- func (m *Node) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Node) MarshalToVT(dAtA []byte) (int, error)
- func (m *Node) MarshalVT() (dAtA []byte, err error)
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (m *Node) SizeVT() (n int)
- func (x *Node) String() string
- func (m *Node) UnmarshalVT(dAtA []byte) error
- type Notification
- func (*Notification) Descriptor() ([]byte, []int)deprecated
- func (x *Notification) GetData() []byte
- func (x *Notification) GetOp() string
- func (m *Notification) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Notification) MarshalToVT(dAtA []byte) (int, error)
- func (m *Notification) MarshalVT() (dAtA []byte, err error)
- func (*Notification) ProtoMessage()
- func (x *Notification) ProtoReflect() protoreflect.Message
- func (x *Notification) Reset()
- func (m *Notification) SizeVT() (n int)
- func (x *Notification) String() string
- func (m *Notification) UnmarshalVT(dAtA []byte) error
- type Refresh
- func (*Refresh) Descriptor() ([]byte, []int)deprecated
- func (x *Refresh) GetClient() string
- func (x *Refresh) GetExpireAt() int64
- func (x *Refresh) GetExpired() bool
- func (x *Refresh) GetInfo() []byte
- func (x *Refresh) GetSession() string
- func (x *Refresh) GetUser() string
- func (m *Refresh) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Refresh) MarshalToVT(dAtA []byte) (int, error)
- func (m *Refresh) MarshalVT() (dAtA []byte, err error)
- func (*Refresh) ProtoMessage()
- func (x *Refresh) ProtoReflect() protoreflect.Message
- func (x *Refresh) Reset()
- func (m *Refresh) SizeVT() (n int)
- func (x *Refresh) String() string
- func (m *Refresh) UnmarshalVT(dAtA []byte) error
- type StreamPosition
- func (*StreamPosition) Descriptor() ([]byte, []int)deprecated
- func (x *StreamPosition) GetEpoch() string
- func (x *StreamPosition) GetOffset() uint64
- func (m *StreamPosition) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StreamPosition) MarshalToVT(dAtA []byte) (int, error)
- func (m *StreamPosition) MarshalVT() (dAtA []byte, err error)
- func (*StreamPosition) ProtoMessage()
- func (x *StreamPosition) ProtoReflect() protoreflect.Message
- func (x *StreamPosition) Reset()
- func (m *StreamPosition) SizeVT() (n int)
- func (x *StreamPosition) String() string
- func (m *StreamPosition) UnmarshalVT(dAtA []byte) error
- type Subscribe
- func (*Subscribe) Descriptor() ([]byte, []int)deprecated
- func (x *Subscribe) GetChannel() string
- func (x *Subscribe) GetChannelInfo() []byte
- func (x *Subscribe) GetClient() string
- func (x *Subscribe) GetData() []byte
- func (x *Subscribe) GetEmitJoinLeave() bool
- func (x *Subscribe) GetEmitPresence() bool
- func (x *Subscribe) GetExpireAt() int64
- func (x *Subscribe) GetPosition() bool
- func (x *Subscribe) GetPushJoinLeave() bool
- func (x *Subscribe) GetRecover() bool
- func (x *Subscribe) GetRecoverSince() *StreamPosition
- func (x *Subscribe) GetSession() string
- func (x *Subscribe) GetSource() uint32
- func (x *Subscribe) GetUser() string
- func (m *Subscribe) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Subscribe) MarshalToVT(dAtA []byte) (int, error)
- func (m *Subscribe) MarshalVT() (dAtA []byte, err error)
- func (*Subscribe) ProtoMessage()
- func (x *Subscribe) ProtoReflect() protoreflect.Message
- func (x *Subscribe) Reset()
- func (m *Subscribe) SizeVT() (n int)
- func (x *Subscribe) String() string
- func (m *Subscribe) UnmarshalVT(dAtA []byte) error
- type SurveyRequest
- func (*SurveyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SurveyRequest) GetData() []byte
- func (x *SurveyRequest) GetId() uint64
- func (x *SurveyRequest) GetOp() string
- func (m *SurveyRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SurveyRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *SurveyRequest) MarshalVT() (dAtA []byte, err error)
- func (*SurveyRequest) ProtoMessage()
- func (x *SurveyRequest) ProtoReflect() protoreflect.Message
- func (x *SurveyRequest) Reset()
- func (m *SurveyRequest) SizeVT() (n int)
- func (x *SurveyRequest) String() string
- func (m *SurveyRequest) UnmarshalVT(dAtA []byte) error
- type SurveyResponse
- func (*SurveyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SurveyResponse) GetCode() uint32
- func (x *SurveyResponse) GetData() []byte
- func (x *SurveyResponse) GetId() uint64
- func (m *SurveyResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SurveyResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *SurveyResponse) MarshalVT() (dAtA []byte, err error)
- func (*SurveyResponse) ProtoMessage()
- func (x *SurveyResponse) ProtoReflect() protoreflect.Message
- func (x *SurveyResponse) Reset()
- func (m *SurveyResponse) SizeVT() (n int)
- func (x *SurveyResponse) String() string
- func (m *SurveyResponse) UnmarshalVT(dAtA []byte) error
- type Unsubscribe
- func (*Unsubscribe) Descriptor() ([]byte, []int)deprecated
- func (x *Unsubscribe) GetChannel() string
- func (x *Unsubscribe) GetClient() string
- func (x *Unsubscribe) GetCode() uint32
- func (x *Unsubscribe) GetReason() string
- func (x *Unsubscribe) GetSession() string
- func (x *Unsubscribe) GetUser() string
- func (m *Unsubscribe) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Unsubscribe) MarshalToVT(dAtA []byte) (int, error)
- func (m *Unsubscribe) MarshalVT() (dAtA []byte, err error)
- func (*Unsubscribe) ProtoMessage()
- func (x *Unsubscribe) ProtoReflect() protoreflect.Message
- func (x *Unsubscribe) Reset()
- func (m *Unsubscribe) SizeVT() (n int)
- func (x *Unsubscribe) String() string
- func (m *Unsubscribe) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Command_MethodType_name = map[int32]string{ 0: "NODE", 1: "UNSUBSCRIBE", 2: "DISCONNECT", 3: "SHUTDOWN", 4: "SURVEY_REQUEST", 5: "SURVEY_RESPONSE", 6: "SUBSCRIBE", 7: "NOTIFICATION", 8: "REFRESH", } Command_MethodType_value = map[string]int32{ "NODE": 0, "UNSUBSCRIBE": 1, "DISCONNECT": 2, "SHUTDOWN": 3, "SURVEY_REQUEST": 4, "SURVEY_RESPONSE": 5, "SUBSCRIBE": 6, "NOTIFICATION": 7, "REFRESH": 8, } )
Enum value maps for Command_MethodType.
View Source
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
View Source
var File_control_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Method Command_MethodType `protobuf:"varint,2,opt,name=method,proto3,enum=controlpb.Command_MethodType" json:"method,omitempty"` Params []byte `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
func (*Command) Descriptor
deprecated
func (*Command) GetMethod ¶
func (x *Command) GetMethod() Command_MethodType
func (*Command) MarshalToSizedBufferVT ¶ added in v0.18.0
func (*Command) MarshalToVT ¶ added in v0.18.0
func (*Command) ProtoMessage ¶
func (*Command) ProtoMessage()
func (*Command) ProtoReflect ¶ added in v0.18.0
func (x *Command) ProtoReflect() protoreflect.Message
func (*Command) UnmarshalVT ¶ added in v0.18.0
type Command_MethodType ¶ added in v0.18.0
type Command_MethodType int32
const ( Command_NODE Command_MethodType = 0 Command_UNSUBSCRIBE Command_MethodType = 1 Command_DISCONNECT Command_MethodType = 2 Command_SHUTDOWN Command_MethodType = 3 Command_SURVEY_REQUEST Command_MethodType = 4 Command_SURVEY_RESPONSE Command_MethodType = 5 Command_SUBSCRIBE Command_MethodType = 6 Command_NOTIFICATION Command_MethodType = 7 Command_REFRESH Command_MethodType = 8 )
func (Command_MethodType) Descriptor ¶ added in v0.18.0
func (Command_MethodType) Descriptor() protoreflect.EnumDescriptor
func (Command_MethodType) Enum ¶ added in v0.18.0
func (x Command_MethodType) Enum() *Command_MethodType
func (Command_MethodType) EnumDescriptor
deprecated
added in
v0.18.0
func (Command_MethodType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Command_MethodType.Descriptor instead.
func (Command_MethodType) Number ¶ added in v0.18.0
func (x Command_MethodType) Number() protoreflect.EnumNumber
func (Command_MethodType) String ¶ added in v0.18.0
func (x Command_MethodType) String() string
func (Command_MethodType) Type ¶ added in v0.18.0
func (Command_MethodType) Type() protoreflect.EnumType
type Disconnect ¶
type Disconnect struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Whitelist []string `protobuf:"bytes,2,rep,name=whitelist,proto3" json:"whitelist,omitempty"` Code uint32 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"` Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` Reconnect bool `protobuf:"varint,5,opt,name=reconnect,proto3" json:"reconnect,omitempty"` Client string `protobuf:"bytes,6,opt,name=client,proto3" json:"client,omitempty"` Session string `protobuf:"bytes,7,opt,name=session,proto3" json:"session,omitempty"` // contains filtered or unexported fields }
func (*Disconnect) Descriptor
deprecated
func (*Disconnect) Descriptor() ([]byte, []int)
Deprecated: Use Disconnect.ProtoReflect.Descriptor instead.
func (*Disconnect) GetClient ¶ added in v0.18.0
func (x *Disconnect) GetClient() string
func (*Disconnect) GetCode ¶ added in v0.14.0
func (x *Disconnect) GetCode() uint32
func (*Disconnect) GetReason ¶ added in v0.14.0
func (x *Disconnect) GetReason() string
func (*Disconnect) GetReconnect ¶ added in v0.14.0
func (x *Disconnect) GetReconnect() bool
func (*Disconnect) GetSession ¶ added in v0.21.1
func (x *Disconnect) GetSession() string
func (*Disconnect) GetUser ¶
func (x *Disconnect) GetUser() string
func (*Disconnect) GetWhitelist ¶ added in v0.14.0
func (x *Disconnect) GetWhitelist() []string
func (*Disconnect) MarshalToSizedBufferVT ¶ added in v0.18.0
func (m *Disconnect) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Disconnect) MarshalToVT ¶ added in v0.18.0
func (m *Disconnect) MarshalToVT(dAtA []byte) (int, error)
func (*Disconnect) MarshalVT ¶ added in v0.18.0
func (m *Disconnect) MarshalVT() (dAtA []byte, err error)
func (*Disconnect) ProtoMessage ¶
func (*Disconnect) ProtoMessage()
func (*Disconnect) ProtoReflect ¶ added in v0.18.0
func (x *Disconnect) ProtoReflect() protoreflect.Message
func (*Disconnect) Reset ¶
func (x *Disconnect) Reset()
func (*Disconnect) SizeVT ¶ added in v0.18.0
func (m *Disconnect) SizeVT() (n int)
func (*Disconnect) String ¶
func (x *Disconnect) String() string
func (*Disconnect) UnmarshalVT ¶ added in v0.18.0
func (m *Disconnect) UnmarshalVT(dAtA []byte) error
type Metrics ¶
type Metrics struct { Interval float64 `protobuf:"fixed64,1,opt,name=interval,proto3" json:"interval,omitempty"` Items map[string]float64 `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Metrics) Descriptor
deprecated
func (*Metrics) GetInterval ¶
func (*Metrics) MarshalToSizedBufferVT ¶ added in v0.18.0
func (*Metrics) MarshalToVT ¶ added in v0.18.0
func (*Metrics) ProtoMessage ¶
func (*Metrics) ProtoMessage()
func (*Metrics) ProtoReflect ¶ added in v0.18.0
func (x *Metrics) ProtoReflect() protoreflect.Message
func (*Metrics) UnmarshalVT ¶ added in v0.18.0
type Node ¶
type Node struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` NumClients uint32 `protobuf:"varint,4,opt,name=num_clients,json=numClients,proto3" json:"num_clients,omitempty"` NumUsers uint32 `protobuf:"varint,5,opt,name=num_users,json=numUsers,proto3" json:"num_users,omitempty"` NumChannels uint32 `protobuf:"varint,6,opt,name=num_channels,json=numChannels,proto3" json:"num_channels,omitempty"` Uptime uint32 `protobuf:"varint,7,opt,name=uptime,proto3" json:"uptime,omitempty"` Metrics *Metrics `protobuf:"bytes,8,opt,name=metrics,proto3" json:"metrics,omitempty"` Data []byte `protobuf:"bytes,9,opt,name=data,proto3" json:"data,omitempty"` NumSubs uint32 `protobuf:"varint,10,opt,name=num_subs,json=numSubs,proto3" json:"num_subs,omitempty"` // contains filtered or unexported fields }
func (*Node) Descriptor
deprecated
func (*Node) GetMetrics ¶
func (*Node) GetNumChannels ¶
func (*Node) GetNumClients ¶
func (*Node) GetNumSubs ¶ added in v0.18.0
func (*Node) GetNumUsers ¶
func (*Node) GetVersion ¶
func (*Node) MarshalToSizedBufferVT ¶ added in v0.18.0
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶ added in v0.18.0
func (x *Node) ProtoReflect() protoreflect.Message
func (*Node) UnmarshalVT ¶ added in v0.18.0
type Notification ¶ added in v0.17.0
type Notification struct { Op string `protobuf:"bytes,1,opt,name=op,proto3" json:"op,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Notification) Descriptor
deprecated
added in
v0.17.0
func (*Notification) Descriptor() ([]byte, []int)
Deprecated: Use Notification.ProtoReflect.Descriptor instead.
func (*Notification) GetData ¶ added in v0.17.0
func (x *Notification) GetData() []byte
func (*Notification) GetOp ¶ added in v0.17.0
func (x *Notification) GetOp() string
func (*Notification) MarshalToSizedBufferVT ¶ added in v0.18.0
func (m *Notification) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Notification) MarshalToVT ¶ added in v0.18.0
func (m *Notification) MarshalToVT(dAtA []byte) (int, error)
func (*Notification) MarshalVT ¶ added in v0.18.0
func (m *Notification) MarshalVT() (dAtA []byte, err error)
func (*Notification) ProtoMessage ¶ added in v0.17.0
func (*Notification) ProtoMessage()
func (*Notification) ProtoReflect ¶ added in v0.18.0
func (x *Notification) ProtoReflect() protoreflect.Message
func (*Notification) Reset ¶ added in v0.17.0
func (x *Notification) Reset()
func (*Notification) SizeVT ¶ added in v0.18.0
func (m *Notification) SizeVT() (n int)
func (*Notification) String ¶ added in v0.17.0
func (x *Notification) String() string
func (*Notification) UnmarshalVT ¶ added in v0.18.0
func (m *Notification) UnmarshalVT(dAtA []byte) error
type Refresh ¶ added in v0.18.0
type Refresh struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Client string `protobuf:"bytes,2,opt,name=client,proto3" json:"client,omitempty"` Expired bool `protobuf:"varint,3,opt,name=expired,proto3" json:"expired,omitempty"` ExpireAt int64 `protobuf:"varint,4,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` Info []byte `protobuf:"bytes,5,opt,name=info,proto3" json:"info,omitempty"` Session string `protobuf:"bytes,6,opt,name=session,proto3" json:"session,omitempty"` // contains filtered or unexported fields }
func (*Refresh) Descriptor
deprecated
added in
v0.18.0
func (*Refresh) GetExpireAt ¶ added in v0.18.0
func (*Refresh) GetExpired ¶ added in v0.18.0
func (*Refresh) GetSession ¶ added in v0.21.1
func (*Refresh) MarshalToSizedBufferVT ¶ added in v0.18.0
func (*Refresh) MarshalToVT ¶ added in v0.18.0
func (*Refresh) ProtoMessage ¶ added in v0.18.0
func (*Refresh) ProtoMessage()
func (*Refresh) ProtoReflect ¶ added in v0.18.0
func (x *Refresh) ProtoReflect() protoreflect.Message
func (*Refresh) UnmarshalVT ¶ added in v0.18.0
type StreamPosition ¶ added in v0.18.0
type StreamPosition struct { Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` Epoch string `protobuf:"bytes,2,opt,name=epoch,proto3" json:"epoch,omitempty"` // contains filtered or unexported fields }
func (*StreamPosition) Descriptor
deprecated
added in
v0.18.0
func (*StreamPosition) Descriptor() ([]byte, []int)
Deprecated: Use StreamPosition.ProtoReflect.Descriptor instead.
func (*StreamPosition) GetEpoch ¶ added in v0.18.0
func (x *StreamPosition) GetEpoch() string
func (*StreamPosition) GetOffset ¶ added in v0.18.0
func (x *StreamPosition) GetOffset() uint64
func (*StreamPosition) MarshalToSizedBufferVT ¶ added in v0.18.0
func (m *StreamPosition) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StreamPosition) MarshalToVT ¶ added in v0.18.0
func (m *StreamPosition) MarshalToVT(dAtA []byte) (int, error)
func (*StreamPosition) MarshalVT ¶ added in v0.18.0
func (m *StreamPosition) MarshalVT() (dAtA []byte, err error)
func (*StreamPosition) ProtoMessage ¶ added in v0.18.0
func (*StreamPosition) ProtoMessage()
func (*StreamPosition) ProtoReflect ¶ added in v0.18.0
func (x *StreamPosition) ProtoReflect() protoreflect.Message
func (*StreamPosition) Reset ¶ added in v0.18.0
func (x *StreamPosition) Reset()
func (*StreamPosition) SizeVT ¶ added in v0.18.0
func (m *StreamPosition) SizeVT() (n int)
func (*StreamPosition) String ¶ added in v0.18.0
func (x *StreamPosition) String() string
func (*StreamPosition) UnmarshalVT ¶ added in v0.18.0
func (m *StreamPosition) UnmarshalVT(dAtA []byte) error
type Subscribe ¶ added in v0.16.0
type Subscribe struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Channel string `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"` EmitPresence bool `protobuf:"varint,3,opt,name=emit_presence,json=emitPresence,proto3" json:"emit_presence,omitempty"` EmitJoinLeave bool `protobuf:"varint,4,opt,name=emit_join_leave,json=emitJoinLeave,proto3" json:"emit_join_leave,omitempty"` ExpireAt int64 `protobuf:"varint,5,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` Position bool `protobuf:"varint,6,opt,name=position,proto3" json:"position,omitempty"` Recover bool `protobuf:"varint,7,opt,name=recover,proto3" json:"recover,omitempty"` ChannelInfo []byte `protobuf:"bytes,8,opt,name=channel_info,json=channelInfo,proto3" json:"channel_info,omitempty"` Client string `protobuf:"bytes,9,opt,name=client,proto3" json:"client,omitempty"` Data []byte `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty"` RecoverSince *StreamPosition `protobuf:"bytes,11,opt,name=recover_since,json=recoverSince,proto3" json:"recover_since,omitempty"` Session string `protobuf:"bytes,12,opt,name=session,proto3" json:"session,omitempty"` PushJoinLeave bool `protobuf:"varint,13,opt,name=push_join_leave,json=pushJoinLeave,proto3" json:"push_join_leave,omitempty"` Source uint32 `protobuf:"varint,14,opt,name=source,proto3" json:"source,omitempty"` // contains filtered or unexported fields }
func (*Subscribe) Descriptor
deprecated
added in
v0.16.0
func (*Subscribe) GetChannel ¶ added in v0.16.0
func (*Subscribe) GetChannelInfo ¶ added in v0.18.0
func (*Subscribe) GetEmitJoinLeave ¶ added in v0.24.0
func (*Subscribe) GetEmitPresence ¶ added in v0.24.0
func (*Subscribe) GetExpireAt ¶ added in v0.16.0
func (*Subscribe) GetPosition ¶ added in v0.16.0
func (*Subscribe) GetPushJoinLeave ¶ added in v0.24.0
func (*Subscribe) GetRecover ¶ added in v0.16.0
func (*Subscribe) GetRecoverSince ¶ added in v0.18.0
func (x *Subscribe) GetRecoverSince() *StreamPosition
func (*Subscribe) GetSession ¶ added in v0.21.1
func (*Subscribe) MarshalToSizedBufferVT ¶ added in v0.18.0
func (*Subscribe) MarshalToVT ¶ added in v0.18.0
func (*Subscribe) ProtoMessage ¶ added in v0.16.0
func (*Subscribe) ProtoMessage()
func (*Subscribe) ProtoReflect ¶ added in v0.18.0
func (x *Subscribe) ProtoReflect() protoreflect.Message
func (*Subscribe) UnmarshalVT ¶ added in v0.18.0
type SurveyRequest ¶ added in v0.15.0
type SurveyRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Op string `protobuf:"bytes,2,opt,name=op,proto3" json:"op,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*SurveyRequest) Descriptor
deprecated
added in
v0.15.0
func (*SurveyRequest) Descriptor() ([]byte, []int)
Deprecated: Use SurveyRequest.ProtoReflect.Descriptor instead.
func (*SurveyRequest) GetData ¶ added in v0.15.0
func (x *SurveyRequest) GetData() []byte
func (*SurveyRequest) GetId ¶ added in v0.18.0
func (x *SurveyRequest) GetId() uint64
func (*SurveyRequest) GetOp ¶ added in v0.15.0
func (x *SurveyRequest) GetOp() string
func (*SurveyRequest) MarshalToSizedBufferVT ¶ added in v0.18.0
func (m *SurveyRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SurveyRequest) MarshalToVT ¶ added in v0.18.0
func (m *SurveyRequest) MarshalToVT(dAtA []byte) (int, error)
func (*SurveyRequest) MarshalVT ¶ added in v0.18.0
func (m *SurveyRequest) MarshalVT() (dAtA []byte, err error)
func (*SurveyRequest) ProtoMessage ¶ added in v0.15.0
func (*SurveyRequest) ProtoMessage()
func (*SurveyRequest) ProtoReflect ¶ added in v0.18.0
func (x *SurveyRequest) ProtoReflect() protoreflect.Message
func (*SurveyRequest) Reset ¶ added in v0.15.0
func (x *SurveyRequest) Reset()
func (*SurveyRequest) SizeVT ¶ added in v0.18.0
func (m *SurveyRequest) SizeVT() (n int)
func (*SurveyRequest) String ¶ added in v0.15.0
func (x *SurveyRequest) String() string
func (*SurveyRequest) UnmarshalVT ¶ added in v0.18.0
func (m *SurveyRequest) UnmarshalVT(dAtA []byte) error
type SurveyResponse ¶ added in v0.15.0
type SurveyResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Code uint32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*SurveyResponse) Descriptor
deprecated
added in
v0.15.0
func (*SurveyResponse) Descriptor() ([]byte, []int)
Deprecated: Use SurveyResponse.ProtoReflect.Descriptor instead.
func (*SurveyResponse) GetCode ¶ added in v0.15.0
func (x *SurveyResponse) GetCode() uint32
func (*SurveyResponse) GetData ¶ added in v0.15.0
func (x *SurveyResponse) GetData() []byte
func (*SurveyResponse) GetId ¶ added in v0.18.0
func (x *SurveyResponse) GetId() uint64
func (*SurveyResponse) MarshalToSizedBufferVT ¶ added in v0.18.0
func (m *SurveyResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SurveyResponse) MarshalToVT ¶ added in v0.18.0
func (m *SurveyResponse) MarshalToVT(dAtA []byte) (int, error)
func (*SurveyResponse) MarshalVT ¶ added in v0.18.0
func (m *SurveyResponse) MarshalVT() (dAtA []byte, err error)
func (*SurveyResponse) ProtoMessage ¶ added in v0.15.0
func (*SurveyResponse) ProtoMessage()
func (*SurveyResponse) ProtoReflect ¶ added in v0.18.0
func (x *SurveyResponse) ProtoReflect() protoreflect.Message
func (*SurveyResponse) Reset ¶ added in v0.15.0
func (x *SurveyResponse) Reset()
func (*SurveyResponse) SizeVT ¶ added in v0.18.0
func (m *SurveyResponse) SizeVT() (n int)
func (*SurveyResponse) String ¶ added in v0.15.0
func (x *SurveyResponse) String() string
func (*SurveyResponse) UnmarshalVT ¶ added in v0.18.0
func (m *SurveyResponse) UnmarshalVT(dAtA []byte) error
type Unsubscribe ¶
type Unsubscribe struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` Client string `protobuf:"bytes,3,opt,name=client,proto3" json:"client,omitempty"` Session string `protobuf:"bytes,4,opt,name=session,proto3" json:"session,omitempty"` Code uint32 `protobuf:"varint,5,opt,name=code,proto3" json:"code,omitempty"` Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*Unsubscribe) Descriptor
deprecated
func (*Unsubscribe) Descriptor() ([]byte, []int)
Deprecated: Use Unsubscribe.ProtoReflect.Descriptor instead.
func (*Unsubscribe) GetChannel ¶
func (x *Unsubscribe) GetChannel() string
func (*Unsubscribe) GetClient ¶ added in v0.16.0
func (x *Unsubscribe) GetClient() string
func (*Unsubscribe) GetCode ¶ added in v0.23.0
func (x *Unsubscribe) GetCode() uint32
func (*Unsubscribe) GetReason ¶ added in v0.23.0
func (x *Unsubscribe) GetReason() string
func (*Unsubscribe) GetSession ¶ added in v0.21.1
func (x *Unsubscribe) GetSession() string
func (*Unsubscribe) GetUser ¶
func (x *Unsubscribe) GetUser() string
func (*Unsubscribe) MarshalToSizedBufferVT ¶ added in v0.18.0
func (m *Unsubscribe) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Unsubscribe) MarshalToVT ¶ added in v0.18.0
func (m *Unsubscribe) MarshalToVT(dAtA []byte) (int, error)
func (*Unsubscribe) MarshalVT ¶ added in v0.18.0
func (m *Unsubscribe) MarshalVT() (dAtA []byte, err error)
func (*Unsubscribe) ProtoMessage ¶
func (*Unsubscribe) ProtoMessage()
func (*Unsubscribe) ProtoReflect ¶ added in v0.18.0
func (x *Unsubscribe) ProtoReflect() protoreflect.Message
func (*Unsubscribe) Reset ¶
func (x *Unsubscribe) Reset()
func (*Unsubscribe) SizeVT ¶ added in v0.18.0
func (m *Unsubscribe) SizeVT() (n int)
func (*Unsubscribe) String ¶
func (x *Unsubscribe) String() string
func (*Unsubscribe) UnmarshalVT ¶ added in v0.18.0
func (m *Unsubscribe) UnmarshalVT(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.