protos

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_cluster_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AllMembers added in v1.1.9

type AllMembers struct {
	Members []string `protobuf:"bytes,1,rep,name=Members,proto3" json:"Members,omitempty"`
	// contains filtered or unexported fields
}

AllMembers contains all members uid

func (*AllMembers) Descriptor deprecated added in v1.1.9

func (*AllMembers) Descriptor() ([]byte, []int)

Deprecated: Use AllMembers.ProtoReflect.Descriptor instead.

func (*AllMembers) GetMembers added in v1.1.9

func (x *AllMembers) GetMembers() []string

func (*AllMembers) ProtoMessage added in v1.1.9

func (*AllMembers) ProtoMessage()

func (*AllMembers) ProtoReflect added in v1.1.9

func (x *AllMembers) ProtoReflect() protoreflect.Message

func (*AllMembers) Reset added in v1.1.9

func (x *AllMembers) Reset()

func (*AllMembers) String added in v1.1.9

func (x *AllMembers) String() string

type JoinResponse added in v1.1.9

type JoinResponse struct {
	Code   int64  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Result string `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

JoinResponse represents the result of joining room

func (*JoinResponse) Descriptor deprecated added in v1.1.9

func (*JoinResponse) Descriptor() ([]byte, []int)

Deprecated: Use JoinResponse.ProtoReflect.Descriptor instead.

func (*JoinResponse) GetCode added in v1.1.9

func (x *JoinResponse) GetCode() int64

func (*JoinResponse) GetResult added in v1.1.9

func (x *JoinResponse) GetResult() string

func (*JoinResponse) ProtoMessage added in v1.1.9

func (*JoinResponse) ProtoMessage()

func (*JoinResponse) ProtoReflect added in v1.1.9

func (x *JoinResponse) ProtoReflect() protoreflect.Message

func (*JoinResponse) Reset added in v1.1.9

func (x *JoinResponse) Reset()

func (*JoinResponse) String added in v1.1.9

func (x *JoinResponse) String() string

type NewUser added in v1.1.9

type NewUser struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

NewUser message will be received when new user join room

func (*NewUser) Descriptor deprecated added in v1.1.9

func (*NewUser) Descriptor() ([]byte, []int)

Deprecated: Use NewUser.ProtoReflect.Descriptor instead.

func (*NewUser) GetContent added in v1.1.9

func (x *NewUser) GetContent() string

func (*NewUser) ProtoMessage added in v1.1.9

func (*NewUser) ProtoMessage()

func (*NewUser) ProtoReflect added in v1.1.9

func (x *NewUser) ProtoReflect() protoreflect.Message

func (*NewUser) Reset added in v1.1.9

func (x *NewUser) Reset()

func (*NewUser) String added in v1.1.9

func (x *NewUser) String() string

type RPCMsg

type RPCMsg struct {
	Msg string `protobuf:"bytes,1,opt,name=Msg,proto3" json:"Msg,omitempty"`
	// contains filtered or unexported fields
}

RPCMsg message to be sent using rpc

func (*RPCMsg) Descriptor deprecated

func (*RPCMsg) Descriptor() ([]byte, []int)

Deprecated: Use RPCMsg.ProtoReflect.Descriptor instead.

func (*RPCMsg) GetMsg

func (x *RPCMsg) GetMsg() string

func (*RPCMsg) ProtoMessage

func (*RPCMsg) ProtoMessage()

func (*RPCMsg) ProtoReflect added in v1.1.9

func (x *RPCMsg) ProtoReflect() protoreflect.Message

func (*RPCMsg) Reset

func (x *RPCMsg) Reset()

func (*RPCMsg) String

func (x *RPCMsg) String() string

type RPCRes

type RPCRes struct {
	Msg string `protobuf:"bytes,1,opt,name=Msg,proto3" json:"Msg,omitempty"`
	// contains filtered or unexported fields
}

RPCRes is the rpc response

func (*RPCRes) Descriptor deprecated

func (*RPCRes) Descriptor() ([]byte, []int)

Deprecated: Use RPCRes.ProtoReflect.Descriptor instead.

func (*RPCRes) GetMsg

func (x *RPCRes) GetMsg() string

func (*RPCRes) ProtoMessage

func (*RPCRes) ProtoMessage()

func (*RPCRes) ProtoReflect added in v1.1.9

func (x *RPCRes) ProtoReflect() protoreflect.Message

func (*RPCRes) Reset

func (x *RPCRes) Reset()

func (*RPCRes) String

func (x *RPCRes) String() string

type Response added in v1.1.9

type Response struct {
	Code int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg  string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

Response struct

func (*Response) Descriptor deprecated added in v1.1.9

func (*Response) Descriptor() ([]byte, []int)

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetCode added in v1.1.9

func (x *Response) GetCode() int32

func (*Response) GetMsg added in v1.1.9

func (x *Response) GetMsg() string

func (*Response) ProtoMessage added in v1.1.9

func (*Response) ProtoMessage()

func (*Response) ProtoReflect added in v1.1.9

func (x *Response) ProtoReflect() protoreflect.Message

func (*Response) Reset added in v1.1.9

func (x *Response) Reset()

func (*Response) String added in v1.1.9

func (x *Response) String() string

type SendRPCMsg added in v1.1.9

type SendRPCMsg struct {
	ServerId string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	Route    string `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"`
	Msg      string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

SendRPCMsg represents a rpc message

func (*SendRPCMsg) Descriptor deprecated added in v1.1.9

func (*SendRPCMsg) Descriptor() ([]byte, []int)

Deprecated: Use SendRPCMsg.ProtoReflect.Descriptor instead.

func (*SendRPCMsg) GetMsg added in v1.1.9

func (x *SendRPCMsg) GetMsg() string

func (*SendRPCMsg) GetRoute added in v1.1.9

func (x *SendRPCMsg) GetRoute() string

func (*SendRPCMsg) GetServerId added in v1.1.9

func (x *SendRPCMsg) GetServerId() string

func (*SendRPCMsg) ProtoMessage added in v1.1.9

func (*SendRPCMsg) ProtoMessage()

func (*SendRPCMsg) ProtoReflect added in v1.1.9

func (x *SendRPCMsg) ProtoReflect() protoreflect.Message

func (*SendRPCMsg) Reset added in v1.1.9

func (x *SendRPCMsg) Reset()

func (*SendRPCMsg) String added in v1.1.9

func (x *SendRPCMsg) String() string

type Stats added in v1.1.9

type Stats struct {
	OutboundBytes int64 `protobuf:"varint,1,opt,name=outbound_bytes,json=outboundBytes,proto3" json:"outbound_bytes,omitempty"`
	InboundBytes  int64 `protobuf:"varint,2,opt,name=inbound_bytes,json=inboundBytes,proto3" json:"inbound_bytes,omitempty"`
	// contains filtered or unexported fields
}

Stats exports the room status

func (*Stats) Descriptor deprecated added in v1.1.9

func (*Stats) Descriptor() ([]byte, []int)

Deprecated: Use Stats.ProtoReflect.Descriptor instead.

func (*Stats) GetInboundBytes added in v1.1.9

func (x *Stats) GetInboundBytes() int64

func (*Stats) GetOutboundBytes added in v1.1.9

func (x *Stats) GetOutboundBytes() int64

func (*Stats) ProtoMessage added in v1.1.9

func (*Stats) ProtoMessage()

func (*Stats) ProtoReflect added in v1.1.9

func (x *Stats) ProtoReflect() protoreflect.Message

func (*Stats) Reset added in v1.1.9

func (x *Stats) Reset()

func (*Stats) String added in v1.1.9

func (x *Stats) String() string

type UserMessage added in v1.1.9

type UserMessage struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

UserMessage represents a message that user sent

func (*UserMessage) Descriptor deprecated added in v1.1.9

func (*UserMessage) Descriptor() ([]byte, []int)

Deprecated: Use UserMessage.ProtoReflect.Descriptor instead.

func (*UserMessage) GetContent added in v1.1.9

func (x *UserMessage) GetContent() string

func (*UserMessage) GetName added in v1.1.9

func (x *UserMessage) GetName() string

func (*UserMessage) ProtoMessage added in v1.1.9

func (*UserMessage) ProtoMessage()

func (*UserMessage) ProtoReflect added in v1.1.9

func (x *UserMessage) ProtoReflect() protoreflect.Message

func (*UserMessage) Reset added in v1.1.9

func (x *UserMessage) Reset()

func (*UserMessage) String added in v1.1.9

func (x *UserMessage) String() string

Jump to

Keyboard shortcuts

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