Documentation
¶
Index ¶
- Variables
- type ListResult
- func (*ListResult) Descriptor() ([]byte, []int)deprecated
- func (x *ListResult) GetItems() *any.Any
- func (x *ListResult) GetPagination() *PaginationResult
- func (*ListResult) ProtoMessage()
- func (x *ListResult) ProtoReflect() protoreflect.Message
- func (x *ListResult) Reset()
- func (x *ListResult) String() string
- type PaginationParam
- func (*PaginationParam) Descriptor() ([]byte, []int)deprecated
- func (x *PaginationParam) GetCurrent() uint32
- func (x *PaginationParam) GetOnlyCount() bool
- func (x *PaginationParam) GetPageSize() uint32
- func (x *PaginationParam) GetPagination() bool
- func (*PaginationParam) ProtoMessage()
- func (x *PaginationParam) ProtoReflect() protoreflect.Message
- func (x *PaginationParam) Reset()
- func (x *PaginationParam) String() string
- type PaginationResult
- func (*PaginationResult) Descriptor() ([]byte, []int)deprecated
- func (x *PaginationResult) GetCurrent() uint32
- func (x *PaginationResult) GetPageSize() uint32
- func (x *PaginationResult) GetTotal() int32
- func (*PaginationResult) ProtoMessage()
- func (x *PaginationResult) ProtoReflect() protoreflect.Message
- func (x *PaginationResult) Reset()
- func (x *PaginationResult) String() string
- type Request
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetDesc() string
- func (x *Response) GetItems() *any.Any
- func (x *Response) GetStatus() int32
- func (x *Response) GetTraceId() 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_unified_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ListResult ¶
type ListResult struct { Items *any.Any `protobuf:"bytes,1,opt,name=items,proto3" json:"items,omitempty"` Pagination *PaginationResult `protobuf:"bytes,2,opt,name=Pagination,proto3" json:"Pagination,omitempty"` // contains filtered or unexported fields }
func (*ListResult) Descriptor
deprecated
func (*ListResult) Descriptor() ([]byte, []int)
Deprecated: Use ListResult.ProtoReflect.Descriptor instead.
func (*ListResult) GetItems ¶
func (x *ListResult) GetItems() *any.Any
func (*ListResult) GetPagination ¶
func (x *ListResult) GetPagination() *PaginationResult
func (*ListResult) ProtoMessage ¶
func (*ListResult) ProtoMessage()
func (*ListResult) ProtoReflect ¶
func (x *ListResult) ProtoReflect() protoreflect.Message
func (*ListResult) Reset ¶
func (x *ListResult) Reset()
func (*ListResult) String ¶
func (x *ListResult) String() string
type PaginationParam ¶
type PaginationParam struct { Pagination bool `protobuf:"varint,1,opt,name=Pagination,proto3" json:"Pagination,omitempty"` OnlyCount bool `protobuf:"varint,2,opt,name=OnlyCount,proto3" json:"OnlyCount,omitempty"` Current uint32 `protobuf:"varint,3,opt,name=Current,proto3" json:"Current,omitempty"` PageSize uint32 `protobuf:"varint,4,opt,name=PageSize,proto3" json:"PageSize,omitempty"` // contains filtered or unexported fields }
PaginationParam 分页查询条件
func (*PaginationParam) Descriptor
deprecated
func (*PaginationParam) Descriptor() ([]byte, []int)
Deprecated: Use PaginationParam.ProtoReflect.Descriptor instead.
func (*PaginationParam) GetCurrent ¶
func (x *PaginationParam) GetCurrent() uint32
func (*PaginationParam) GetOnlyCount ¶
func (x *PaginationParam) GetOnlyCount() bool
func (*PaginationParam) GetPageSize ¶
func (x *PaginationParam) GetPageSize() uint32
func (*PaginationParam) GetPagination ¶
func (x *PaginationParam) GetPagination() bool
func (*PaginationParam) ProtoMessage ¶
func (*PaginationParam) ProtoMessage()
func (*PaginationParam) ProtoReflect ¶
func (x *PaginationParam) ProtoReflect() protoreflect.Message
func (*PaginationParam) Reset ¶
func (x *PaginationParam) Reset()
func (*PaginationParam) String ¶
func (x *PaginationParam) String() string
type PaginationResult ¶
type PaginationResult struct { Total int32 `protobuf:"varint,1,opt,name=Total,proto3" json:"Total,omitempty"` Current uint32 `protobuf:"varint,2,opt,name=Current,proto3" json:"Current,omitempty"` PageSize uint32 `protobuf:"varint,3,opt,name=PageSize,proto3" json:"PageSize,omitempty"` // contains filtered or unexported fields }
func (*PaginationResult) Descriptor
deprecated
func (*PaginationResult) Descriptor() ([]byte, []int)
Deprecated: Use PaginationResult.ProtoReflect.Descriptor instead.
func (*PaginationResult) GetCurrent ¶
func (x *PaginationResult) GetCurrent() uint32
func (*PaginationResult) GetPageSize ¶
func (x *PaginationResult) GetPageSize() uint32
func (*PaginationResult) GetTotal ¶
func (x *PaginationResult) GetTotal() int32
func (*PaginationResult) ProtoMessage ¶
func (*PaginationResult) ProtoMessage()
func (*PaginationResult) ProtoReflect ¶
func (x *PaginationResult) ProtoReflect() protoreflect.Message
func (*PaginationResult) Reset ¶
func (x *PaginationResult) Reset()
func (*PaginationResult) String ¶
func (x *PaginationResult) String() string
type Request ¶
type Request struct {
// contains filtered or unexported fields
}
func (*Request) Descriptor
deprecated
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct { TraceId string `protobuf:"bytes,1,opt,name=traceId,proto3" json:"traceId,omitempty"` Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"` Items *any.Any `protobuf:"bytes,4,opt,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) GetTraceId ¶
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.