Documentation ¶
Index ¶
- type Msg1
- func (*Msg1) Descriptor() ([]byte, []int)
- func (m *Msg1) GetId() int32
- func (m *Msg1) GetName() string
- func (*Msg1) ProtoMessage()
- func (m *Msg1) Reset()
- func (m *Msg1) String() string
- func (m *Msg1) XXX_DiscardUnknown()
- func (m *Msg1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Msg1) XXX_Merge(src proto.Message)
- func (m *Msg1) XXX_Size() int
- func (m *Msg1) XXX_Unmarshal(b []byte) error
- type Msg2
- func (*Msg2) Descriptor() ([]byte, []int)
- func (m *Msg2) GetAlias() string
- func (m *Msg2) GetId() int32
- func (m *Msg2) GetName() string
- func (*Msg2) ProtoMessage()
- func (m *Msg2) Reset()
- func (m *Msg2) String() string
- func (m *Msg2) XXX_DiscardUnknown()
- func (m *Msg2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Msg2) XXX_Merge(src proto.Message)
- func (m *Msg2) XXX_Size() int
- func (m *Msg2) XXX_Unmarshal(b []byte) error
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetContent() 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 (m *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Msg1 ¶
type Msg1 struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Msg1) Descriptor ¶
func (*Msg1) ProtoMessage ¶
func (*Msg1) ProtoMessage()
func (*Msg1) XXX_DiscardUnknown ¶
func (m *Msg1) XXX_DiscardUnknown()
func (*Msg1) XXX_Unmarshal ¶
type Msg2 ¶
type Msg2 struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"` Id int32 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Msg2) Descriptor ¶
func (*Msg2) ProtoMessage ¶
func (*Msg2) ProtoMessage()
func (*Msg2) XXX_DiscardUnknown ¶
func (m *Msg2) XXX_DiscardUnknown()
func (*Msg2) XXX_Unmarshal ¶
type Response ¶
type Response 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:"-"` }
func (*Response) Descriptor ¶
func (*Response) GetContent ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶
func (*Response) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.