Documentation ¶
Index ¶
- type AllMembers
- func (*AllMembers) Descriptor() ([]byte, []int)
- func (m *AllMembers) GetMembers() []string
- func (*AllMembers) ProtoMessage()
- func (m *AllMembers) Reset()
- func (m *AllMembers) String() string
- func (m *AllMembers) XXX_DiscardUnknown()
- func (m *AllMembers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AllMembers) XXX_Merge(src proto.Message)
- func (m *AllMembers) XXX_Size() int
- func (m *AllMembers) XXX_Unmarshal(b []byte) error
- type NewUser
- func (*NewUser) Descriptor() ([]byte, []int)
- func (m *NewUser) GetContent() string
- func (*NewUser) ProtoMessage()
- func (m *NewUser) Reset()
- func (m *NewUser) String() string
- func (m *NewUser) XXX_DiscardUnknown()
- func (m *NewUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NewUser) XXX_Merge(src proto.Message)
- func (m *NewUser) XXX_Size() int
- func (m *NewUser) XXX_Unmarshal(b []byte) error
- type RPCMsg
- func (*RPCMsg) Descriptor() ([]byte, []int)
- func (m *RPCMsg) GetMsg() string
- func (m *RPCMsg) GetRoute() string
- func (*RPCMsg) ProtoMessage()
- func (m *RPCMsg) Reset()
- func (m *RPCMsg) String() string
- func (m *RPCMsg) XXX_DiscardUnknown()
- func (m *RPCMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RPCMsg) XXX_Merge(src proto.Message)
- func (m *RPCMsg) XXX_Size() int
- func (m *RPCMsg) XXX_Unmarshal(b []byte) error
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetCode() int32
- func (m *Response) GetMsg() string
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) String() string
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type UserMessage
- func (*UserMessage) Descriptor() ([]byte, []int)
- func (m *UserMessage) GetContent() string
- func (m *UserMessage) GetName() string
- func (*UserMessage) ProtoMessage()
- func (m *UserMessage) Reset()
- func (m *UserMessage) String() string
- func (m *UserMessage) XXX_DiscardUnknown()
- func (m *UserMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UserMessage) XXX_Merge(src proto.Message)
- func (m *UserMessage) XXX_Size() int
- func (m *UserMessage) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllMembers ¶
type AllMembers struct { Members []string `protobuf:"bytes,1,rep,name=Members,proto3" json:"Members,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
AllMembers contains all members uid
func (*AllMembers) Descriptor ¶
func (*AllMembers) Descriptor() ([]byte, []int)
func (*AllMembers) GetMembers ¶
func (m *AllMembers) GetMembers() []string
func (*AllMembers) ProtoMessage ¶
func (*AllMembers) ProtoMessage()
func (*AllMembers) Reset ¶
func (m *AllMembers) Reset()
func (*AllMembers) String ¶
func (m *AllMembers) String() string
func (*AllMembers) XXX_DiscardUnknown ¶
func (m *AllMembers) XXX_DiscardUnknown()
func (*AllMembers) XXX_Marshal ¶
func (m *AllMembers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllMembers) XXX_Merge ¶
func (dst *AllMembers) XXX_Merge(src proto.Message)
func (*AllMembers) XXX_Size ¶
func (m *AllMembers) XXX_Size() int
func (*AllMembers) XXX_Unmarshal ¶
func (m *AllMembers) XXX_Unmarshal(b []byte) error
type NewUser ¶
type NewUser struct { Content string `protobuf:"bytes,1,opt,name=Content,proto3" json:"Content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
NewUser message will be received when new user join room
func (*NewUser) Descriptor ¶
func (*NewUser) GetContent ¶
func (*NewUser) ProtoMessage ¶
func (*NewUser) ProtoMessage()
func (*NewUser) XXX_DiscardUnknown ¶
func (m *NewUser) XXX_DiscardUnknown()
func (*NewUser) XXX_Marshal ¶
func (*NewUser) XXX_Unmarshal ¶
type RPCMsg ¶
type RPCMsg struct { Route string `protobuf:"bytes,1,opt,name=Route,proto3" json:"Route,omitempty"` Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RPCMsg) Descriptor ¶
func (*RPCMsg) ProtoMessage ¶
func (*RPCMsg) ProtoMessage()
func (*RPCMsg) XXX_DiscardUnknown ¶
func (m *RPCMsg) XXX_DiscardUnknown()
func (*RPCMsg) XXX_Marshal ¶
func (*RPCMsg) XXX_Unmarshal ¶
type Response ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response represents a rpc message
func (*Response) Descriptor ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶
func (*Response) XXX_Unmarshal ¶
type UserMessage ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UserMessage represents a message that user sent
func (*UserMessage) Descriptor ¶
func (*UserMessage) Descriptor() ([]byte, []int)
func (*UserMessage) GetContent ¶
func (m *UserMessage) GetContent() string
func (*UserMessage) GetName ¶
func (m *UserMessage) GetName() string
func (*UserMessage) ProtoMessage ¶
func (*UserMessage) ProtoMessage()
func (*UserMessage) Reset ¶
func (m *UserMessage) Reset()
func (*UserMessage) String ¶
func (m *UserMessage) String() string
func (*UserMessage) XXX_DiscardUnknown ¶
func (m *UserMessage) XXX_DiscardUnknown()
func (*UserMessage) XXX_Marshal ¶
func (m *UserMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserMessage) XXX_Merge ¶
func (dst *UserMessage) XXX_Merge(src proto.Message)
func (*UserMessage) XXX_Size ¶
func (m *UserMessage) XXX_Size() int
func (*UserMessage) XXX_Unmarshal ¶
func (m *UserMessage) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.