protos

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2019 License: MIT Imports: 3 Imported by: 1

Documentation

Index

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 added in v0.11.0

func (m *AllMembers) XXX_DiscardUnknown()

func (*AllMembers) XXX_Marshal added in v0.11.0

func (m *AllMembers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AllMembers) XXX_Merge added in v0.11.0

func (dst *AllMembers) XXX_Merge(src proto.Message)

func (*AllMembers) XXX_Size added in v0.11.0

func (m *AllMembers) XXX_Size() int

func (*AllMembers) XXX_Unmarshal added in v0.11.0

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) Descriptor() ([]byte, []int)

func (*NewUser) GetContent

func (m *NewUser) GetContent() string

func (*NewUser) ProtoMessage

func (*NewUser) ProtoMessage()

func (*NewUser) Reset

func (m *NewUser) Reset()

func (*NewUser) String

func (m *NewUser) String() string

func (*NewUser) XXX_DiscardUnknown added in v0.11.0

func (m *NewUser) XXX_DiscardUnknown()

func (*NewUser) XXX_Marshal added in v0.11.0

func (m *NewUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NewUser) XXX_Merge added in v0.11.0

func (dst *NewUser) XXX_Merge(src proto.Message)

func (*NewUser) XXX_Size added in v0.11.0

func (m *NewUser) XXX_Size() int

func (*NewUser) XXX_Unmarshal added in v0.11.0

func (m *NewUser) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*RPCMsg) GetMsg

func (m *RPCMsg) GetMsg() string

func (*RPCMsg) GetRoute

func (m *RPCMsg) GetRoute() string

func (*RPCMsg) ProtoMessage

func (*RPCMsg) ProtoMessage()

func (*RPCMsg) Reset

func (m *RPCMsg) Reset()

func (*RPCMsg) String

func (m *RPCMsg) String() string

func (*RPCMsg) XXX_DiscardUnknown added in v0.11.0

func (m *RPCMsg) XXX_DiscardUnknown()

func (*RPCMsg) XXX_Marshal added in v0.11.0

func (m *RPCMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RPCMsg) XXX_Merge added in v0.11.0

func (dst *RPCMsg) XXX_Merge(src proto.Message)

func (*RPCMsg) XXX_Size added in v0.11.0

func (m *RPCMsg) XXX_Size() int

func (*RPCMsg) XXX_Unmarshal added in v0.11.0

func (m *RPCMsg) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Response) GetCode

func (m *Response) GetCode() int32

func (*Response) GetMsg

func (m *Response) GetMsg() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

func (*Response) XXX_DiscardUnknown added in v0.11.0

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal added in v0.11.0

func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Response) XXX_Merge added in v0.11.0

func (dst *Response) XXX_Merge(src proto.Message)

func (*Response) XXX_Size added in v0.11.0

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal added in v0.11.0

func (m *Response) XXX_Unmarshal(b []byte) error

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 added in v0.11.0

func (m *UserMessage) XXX_DiscardUnknown()

func (*UserMessage) XXX_Marshal added in v0.11.0

func (m *UserMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserMessage) XXX_Merge added in v0.11.0

func (dst *UserMessage) XXX_Merge(src proto.Message)

func (*UserMessage) XXX_Size added in v0.11.0

func (m *UserMessage) XXX_Size() int

func (*UserMessage) XXX_Unmarshal added in v0.11.0

func (m *UserMessage) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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