Documentation ¶
Overview ¶
Package employ is a generated protocol buffer package.
It is generated from these files:
test.proto
It has these top-level messages:
EmployStruct EmployRequest EmployResponse
Index ¶
- type EmployRequest
- func (*EmployRequest) Descriptor() ([]byte, []int)
- func (m *EmployRequest) GetEmploy() *EmployStruct
- func (m *EmployRequest) GetEmployList() []*EmployStruct
- func (m *EmployRequest) GetName() string
- func (*EmployRequest) ProtoMessage()
- func (m *EmployRequest) Reset()
- func (m *EmployRequest) String() string
- type EmployResponse
- type EmployStruct
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmployRequest ¶
type EmployRequest struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Employ *EmployStruct `protobuf:"bytes,2,opt,name=employ" json:"employ,omitempty"` EmployList []*EmployStruct `protobuf:"bytes,3,rep,name=employList" json:"employList,omitempty"` }
func (*EmployRequest) Descriptor ¶
func (*EmployRequest) Descriptor() ([]byte, []int)
func (*EmployRequest) GetEmploy ¶
func (m *EmployRequest) GetEmploy() *EmployStruct
func (*EmployRequest) GetEmployList ¶
func (m *EmployRequest) GetEmployList() []*EmployStruct
func (*EmployRequest) GetName ¶
func (m *EmployRequest) GetName() string
func (*EmployRequest) ProtoMessage ¶
func (*EmployRequest) ProtoMessage()
func (*EmployRequest) Reset ¶
func (m *EmployRequest) Reset()
func (*EmployRequest) String ¶
func (m *EmployRequest) String() string
type EmployResponse ¶
type EmployResponse struct { Employ *EmployStruct `protobuf:"bytes,1,opt,name=employ" json:"employ,omitempty"` EmployList []*EmployStruct `protobuf:"bytes,2,rep,name=employList" json:"employList,omitempty"` }
func (*EmployResponse) Descriptor ¶
func (*EmployResponse) Descriptor() ([]byte, []int)
func (*EmployResponse) GetEmploy ¶
func (m *EmployResponse) GetEmploy() *EmployStruct
func (*EmployResponse) GetEmployList ¶
func (m *EmployResponse) GetEmployList() []*EmployStruct
func (*EmployResponse) ProtoMessage ¶
func (*EmployResponse) ProtoMessage()
func (*EmployResponse) Reset ¶
func (m *EmployResponse) Reset()
func (*EmployResponse) String ¶
func (m *EmployResponse) String() string
type EmployStruct ¶
type EmployStruct struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Phone string `protobuf:"bytes,2,opt,name=phone" json:"phone,omitempty"` }
func (*EmployStruct) Descriptor ¶
func (*EmployStruct) Descriptor() ([]byte, []int)
func (*EmployStruct) GetName ¶
func (m *EmployStruct) GetName() string
func (*EmployStruct) GetPhone ¶
func (m *EmployStruct) GetPhone() string
func (*EmployStruct) ProtoMessage ¶
func (*EmployStruct) ProtoMessage()
func (*EmployStruct) Reset ¶
func (m *EmployStruct) Reset()
func (*EmployStruct) String ¶
func (m *EmployStruct) String() string
Click to show internal directories.
Click to hide internal directories.