Documentation
¶
Index ¶
- type AnyMessage
- func (*AnyMessage) Descriptor() ([]byte, []int)
- func (m *AnyMessage) GetMessage() *any.Any
- func (*AnyMessage) ProtoMessage()
- func (m *AnyMessage) Reset()
- func (m *AnyMessage) String() string
- func (m *AnyMessage) XXX_DiscardUnknown()
- func (m *AnyMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AnyMessage) XXX_Merge(src proto.Message)
- func (m *AnyMessage) XXX_Size() int
- func (m *AnyMessage) XXX_Unmarshal(b []byte) error
- type Echo
- func (*Echo) Descriptor() ([]byte, []int)
- func (m *Echo) GetMessage() string
- func (*Echo) ProtoMessage()
- func (m *Echo) Reset()
- func (m *Echo) String() string
- func (m *Echo) XXX_DiscardUnknown()
- func (m *Echo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Echo) XXX_Merge(src proto.Message)
- func (m *Echo) XXX_Size() int
- func (m *Echo) XXX_Unmarshal(b []byte) error
- type Error
- func (*Error) Descriptor() ([]byte, []int)
- func (m *Error) GetErrorcode() uint32
- 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 LoginReq
- func (*LoginReq) Descriptor() ([]byte, []int)
- func (m *LoginReq) GetName() string
- func (*LoginReq) ProtoMessage()
- func (m *LoginReq) Reset()
- func (m *LoginReq) String() string
- func (m *LoginReq) XXX_DiscardUnknown()
- func (m *LoginReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoginReq) XXX_Merge(src proto.Message)
- func (m *LoginReq) XXX_Size() int
- func (m *LoginReq) XXX_Unmarshal(b []byte) error
- type LoginResp
- func (*LoginResp) Descriptor() ([]byte, []int)
- func (m *LoginResp) GetUser() *User
- func (*LoginResp) ProtoMessage()
- func (m *LoginResp) Reset()
- func (m *LoginResp) String() string
- func (m *LoginResp) XXX_DiscardUnknown()
- func (m *LoginResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoginResp) XXX_Merge(src proto.Message)
- func (m *LoginResp) XXX_Size() int
- func (m *LoginResp) XXX_Unmarshal(b []byte) error
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetName() string
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) String() string
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnyMessage ¶
type AnyMessage struct { Message *any.Any `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AnyMessage) Descriptor ¶
func (*AnyMessage) Descriptor() ([]byte, []int)
func (*AnyMessage) GetMessage ¶
func (m *AnyMessage) GetMessage() *any.Any
func (*AnyMessage) ProtoMessage ¶
func (*AnyMessage) ProtoMessage()
func (*AnyMessage) Reset ¶
func (m *AnyMessage) Reset()
func (*AnyMessage) String ¶
func (m *AnyMessage) String() string
func (*AnyMessage) XXX_DiscardUnknown ¶
func (m *AnyMessage) XXX_DiscardUnknown()
func (*AnyMessage) XXX_Marshal ¶
func (m *AnyMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnyMessage) XXX_Merge ¶
func (m *AnyMessage) XXX_Merge(src proto.Message)
func (*AnyMessage) XXX_Size ¶
func (m *AnyMessage) XXX_Size() int
func (*AnyMessage) XXX_Unmarshal ¶
func (m *AnyMessage) XXX_Unmarshal(b []byte) error
type Echo ¶
type Echo struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Echo) Descriptor ¶
func (*Echo) GetMessage ¶
func (*Echo) ProtoMessage ¶
func (*Echo) ProtoMessage()
func (*Echo) XXX_DiscardUnknown ¶
func (m *Echo) XXX_DiscardUnknown()
func (*Echo) XXX_Unmarshal ¶
type Error ¶
type Error struct { Errorcode uint32 `protobuf:"varint,1,opt,name=errorcode,proto3" json:"errorcode,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Error) Descriptor ¶
func (*Error) GetErrorcode ¶
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 LoginReq ¶
type LoginReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoginReq) Descriptor ¶
func (*LoginReq) ProtoMessage ¶
func (*LoginReq) ProtoMessage()
func (*LoginReq) XXX_DiscardUnknown ¶
func (m *LoginReq) XXX_DiscardUnknown()
func (*LoginReq) XXX_Marshal ¶
func (*LoginReq) XXX_Unmarshal ¶
type LoginResp ¶
type LoginResp struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoginResp) Descriptor ¶
func (*LoginResp) ProtoMessage ¶
func (*LoginResp) ProtoMessage()
func (*LoginResp) XXX_DiscardUnknown ¶
func (m *LoginResp) XXX_DiscardUnknown()
func (*LoginResp) XXX_Marshal ¶
func (*LoginResp) XXX_Unmarshal ¶
type User ¶
type User struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*User) Descriptor ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.