Documentation ¶
Index ¶
- Variables
- type AddExampleReq
- func (*AddExampleReq) Descriptor() ([]byte, []int)deprecated
- func (x *AddExampleReq) GetAge() int32
- func (x *AddExampleReq) GetName() string
- func (*AddExampleReq) ProtoMessage()
- func (x *AddExampleReq) ProtoReflect() protoreflect.Message
- func (x *AddExampleReq) Reset()
- func (x *AddExampleReq) String() string
- type AddExampleResp
- type ListExampleReq
- func (*ListExampleReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListExampleReq) GetPageIndex() int32
- func (x *ListExampleReq) GetPageSize() int32
- func (*ListExampleReq) ProtoMessage()
- func (x *ListExampleReq) ProtoReflect() protoreflect.Message
- func (x *ListExampleReq) Reset()
- func (x *ListExampleReq) String() string
- type ListExampleResp
- func (*ListExampleResp) Descriptor() ([]byte, []int)deprecated
- func (x *ListExampleResp) GetData() []*ListExampleResp_One
- func (x *ListExampleResp) GetPageIndex() int32
- func (x *ListExampleResp) GetPageSize() int32
- func (*ListExampleResp) ProtoMessage()
- func (x *ListExampleResp) ProtoReflect() protoreflect.Message
- func (x *ListExampleResp) Reset()
- func (x *ListExampleResp) String() string
- type ListExampleResp_One
- func (*ListExampleResp_One) Descriptor() ([]byte, []int)deprecated
- func (x *ListExampleResp_One) GetAge() int32
- func (x *ListExampleResp_One) GetId() int32
- func (x *ListExampleResp_One) GetName() string
- func (*ListExampleResp_One) ProtoMessage()
- func (x *ListExampleResp_One) ProtoReflect() protoreflect.Message
- func (x *ListExampleResp_One) Reset()
- func (x *ListExampleResp_One) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_example_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AddExampleReq ¶
type AddExampleReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"` Age int32 `protobuf:"varint,2,opt,name=age,proto3" json:"age"` // contains filtered or unexported fields }
func (*AddExampleReq) Descriptor
deprecated
func (*AddExampleReq) Descriptor() ([]byte, []int)
Deprecated: Use AddExampleReq.ProtoReflect.Descriptor instead.
func (*AddExampleReq) GetAge ¶
func (x *AddExampleReq) GetAge() int32
func (*AddExampleReq) GetName ¶
func (x *AddExampleReq) GetName() string
func (*AddExampleReq) ProtoMessage ¶
func (*AddExampleReq) ProtoMessage()
func (*AddExampleReq) ProtoReflect ¶
func (x *AddExampleReq) ProtoReflect() protoreflect.Message
func (*AddExampleReq) Reset ¶
func (x *AddExampleReq) Reset()
func (*AddExampleReq) String ¶
func (x *AddExampleReq) String() string
type AddExampleResp ¶
type AddExampleResp struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` // contains filtered or unexported fields }
func (*AddExampleResp) Descriptor
deprecated
func (*AddExampleResp) Descriptor() ([]byte, []int)
Deprecated: Use AddExampleResp.ProtoReflect.Descriptor instead.
func (*AddExampleResp) GetId ¶
func (x *AddExampleResp) GetId() int32
func (*AddExampleResp) ProtoMessage ¶
func (*AddExampleResp) ProtoMessage()
func (*AddExampleResp) ProtoReflect ¶
func (x *AddExampleResp) ProtoReflect() protoreflect.Message
func (*AddExampleResp) Reset ¶
func (x *AddExampleResp) Reset()
func (*AddExampleResp) String ¶
func (x *AddExampleResp) String() string
type ListExampleReq ¶
type ListExampleReq struct { // @gotags: form:"page_index" example:"1" PageIndex int32 `protobuf:"varint,1,opt,name=page_index,json=pageIndex,proto3" json:"page_index" form:"page_index" example:"1"` // @gotags: form:"page_size" example:"10" PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size" example:"10"` // contains filtered or unexported fields }
func (*ListExampleReq) Descriptor
deprecated
func (*ListExampleReq) Descriptor() ([]byte, []int)
Deprecated: Use ListExampleReq.ProtoReflect.Descriptor instead.
func (*ListExampleReq) GetPageIndex ¶
func (x *ListExampleReq) GetPageIndex() int32
func (*ListExampleReq) GetPageSize ¶
func (x *ListExampleReq) GetPageSize() int32
func (*ListExampleReq) ProtoMessage ¶
func (*ListExampleReq) ProtoMessage()
func (*ListExampleReq) ProtoReflect ¶
func (x *ListExampleReq) ProtoReflect() protoreflect.Message
func (*ListExampleReq) Reset ¶
func (x *ListExampleReq) Reset()
func (*ListExampleReq) String ¶
func (x *ListExampleReq) String() string
type ListExampleResp ¶
type ListExampleResp struct { PageIndex int32 `protobuf:"varint,1,opt,name=page_index,json=pageIndex,proto3" json:"page_index"` PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size"` Data []*ListExampleResp_One `protobuf:"bytes,3,rep,name=data,proto3" json:"data"` // contains filtered or unexported fields }
func (*ListExampleResp) Descriptor
deprecated
func (*ListExampleResp) Descriptor() ([]byte, []int)
Deprecated: Use ListExampleResp.ProtoReflect.Descriptor instead.
func (*ListExampleResp) GetData ¶
func (x *ListExampleResp) GetData() []*ListExampleResp_One
func (*ListExampleResp) GetPageIndex ¶
func (x *ListExampleResp) GetPageIndex() int32
func (*ListExampleResp) GetPageSize ¶
func (x *ListExampleResp) GetPageSize() int32
func (*ListExampleResp) ProtoMessage ¶
func (*ListExampleResp) ProtoMessage()
func (*ListExampleResp) ProtoReflect ¶
func (x *ListExampleResp) ProtoReflect() protoreflect.Message
func (*ListExampleResp) Reset ¶
func (x *ListExampleResp) Reset()
func (*ListExampleResp) String ¶
func (x *ListExampleResp) String() string
type ListExampleResp_One ¶
type ListExampleResp_One struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` Age int32 `protobuf:"varint,3,opt,name=age,proto3" json:"age"` // contains filtered or unexported fields }
func (*ListExampleResp_One) Descriptor
deprecated
func (*ListExampleResp_One) Descriptor() ([]byte, []int)
Deprecated: Use ListExampleResp_One.ProtoReflect.Descriptor instead.
func (*ListExampleResp_One) GetAge ¶
func (x *ListExampleResp_One) GetAge() int32
func (*ListExampleResp_One) GetId ¶
func (x *ListExampleResp_One) GetId() int32
func (*ListExampleResp_One) GetName ¶
func (x *ListExampleResp_One) GetName() string
func (*ListExampleResp_One) ProtoMessage ¶
func (*ListExampleResp_One) ProtoMessage()
func (*ListExampleResp_One) ProtoReflect ¶
func (x *ListExampleResp_One) ProtoReflect() protoreflect.Message
func (*ListExampleResp_One) Reset ¶
func (x *ListExampleResp_One) Reset()
func (*ListExampleResp_One) String ¶
func (x *ListExampleResp_One) String() string
Click to show internal directories.
Click to hide internal directories.