Documentation ¶
Index ¶
- Variables
- type Paginator
- func (*Paginator) Descriptor() ([]byte, []int)deprecated
- func (x *Paginator) GetLimit() uint64
- func (x *Paginator) GetPage() uint64
- func (x *Paginator) GetTotal() uint64
- func (x *Paginator) Offset() uint64
- func (*Paginator) ProtoMessage()
- func (x *Paginator) ProtoReflect() protoreflect.Message
- func (x *Paginator) Reset()
- func (x *Paginator) String() string
- func (m *Paginator) Validate() error
- type PaginatorValidationError
Constants ¶
This section is empty.
Variables ¶
View Source
var File_paginator_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Paginator ¶
type Paginator struct { Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Total uint64 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*Paginator) Descriptor
deprecated
func (*Paginator) ProtoMessage ¶
func (*Paginator) ProtoMessage()
func (*Paginator) ProtoReflect ¶
func (x *Paginator) ProtoReflect() protoreflect.Message
type PaginatorValidationError ¶
type PaginatorValidationError struct {
// contains filtered or unexported fields
}
PaginatorValidationError is the validation error returned by Paginator.Validate if the designated constraints aren't met.
func (PaginatorValidationError) Cause ¶
func (e PaginatorValidationError) Cause() error
Cause function returns cause value.
func (PaginatorValidationError) Error ¶
func (e PaginatorValidationError) Error() string
Error satisfies the builtin error interface
func (PaginatorValidationError) ErrorName ¶
func (e PaginatorValidationError) ErrorName() string
ErrorName returns error name.
func (PaginatorValidationError) Field ¶
func (e PaginatorValidationError) Field() string
Field function returns field value.
func (PaginatorValidationError) Key ¶
func (e PaginatorValidationError) Key() bool
Key function returns key value.
func (PaginatorValidationError) Reason ¶
func (e PaginatorValidationError) Reason() string
Reason function returns reason value.
Click to show internal directories.
Click to hide internal directories.