unified

package
v0.0.0-...-0b911c8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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 OrderField

type OrderField struct {
	Key            string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	OrderDirection int32  `protobuf:"varint,2,opt,name=OrderDirection,proto3" json:"OrderDirection,omitempty"`
	// contains filtered or unexported fields
}

OrderField 排序字段

func (*OrderField) Descriptor deprecated

func (*OrderField) Descriptor() ([]byte, []int)

Deprecated: Use OrderField.ProtoReflect.Descriptor instead.

func (*OrderField) GetKey

func (x *OrderField) GetKey() string

func (*OrderField) GetOrderDirection

func (x *OrderField) GetOrderDirection() int32

func (*OrderField) ProtoMessage

func (*OrderField) ProtoMessage()

func (*OrderField) ProtoReflect

func (x *OrderField) ProtoReflect() protoreflect.Message

func (*OrderField) Reset

func (x *OrderField) Reset()

func (*OrderField) String

func (x *OrderField) 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) Descriptor() ([]byte, []int)

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

func (x *Request) ProtoReflect() protoreflect.Message

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetDesc

func (x *Response) GetDesc() string

func (*Response) GetItems

func (x *Response) GetItems() *any.Any

func (*Response) GetStatus

func (x *Response) GetStatus() int32

func (*Response) GetTraceId

func (x *Response) GetTraceId() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

func (x *Response) ProtoReflect() protoreflect.Message

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL