Documentation ¶
Index ¶
- Variables
- type Pages
- type Pk
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetCode() uint32
- func (x *Response) GetData() *any.Any
- func (x *Response) GetMsg() string
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Pages ¶
type Pages struct { // @inject_tag: json:"page",form:"page" Page uint32 `protobuf:"varint,1,opt,name=Page,proto3" json:"page" form:"page"` // @inject_tag: json:"per_page",form:"per_page" PerPage uint32 `protobuf:"varint,2,opt,name=PerPage,proto3" json:"per_page" form:"per_page"` // @inject_tag: json:"total",form:"total" Total uint32 `protobuf:"varint,3,opt,name=Total,proto3" json:"total" form:"total"` // contains filtered or unexported fields }
func (*Pages) Descriptor
deprecated
func (*Pages) GetPerPage ¶
func (*Pages) ProtoMessage ¶
func (*Pages) ProtoMessage()
func (*Pages) ProtoReflect ¶
func (x *Pages) ProtoReflect() protoreflect.Message
type Pk ¶
type Pk struct { // @inject_tag: json:"id",form:"id" Id uint64 `protobuf:"varint,1,opt,name=Id,proto3" json:"id" form:"id"` // contains filtered or unexported fields }
func (*Pk) Descriptor
deprecated
func (*Pk) ProtoMessage ¶
func (*Pk) ProtoMessage()
func (*Pk) ProtoReflect ¶
func (x *Pk) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct { // @inject_tag: json:"code",form:"code" Code uint32 `protobuf:"varint,1,opt,name=Code,proto3" json:"code" form:"code"` // @inject_tag: json:"msg",form:"msg" Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"msg" form:"msg"` // @inject_tag: json:"data",form:"data" Data *any.Any `protobuf:"bytes,3,opt,name=data,proto3" json:"data" form:"data"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.