paginate

package
v0.0.0-...-a63ec68 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthPaginate        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPaginate          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPaginate = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Paginate

type Paginate struct {
	Start int64  `protobuf:"varint,1,opt,name=Start,proto3" json:"Start,omitempty"`
	End   int64  `protobuf:"varint,2,opt,name=End,proto3" json:"End,omitempty"`
	Sort  string `protobuf:"bytes,3,opt,name=Sort,proto3" json:"Sort,omitempty"`
	Order bool   `protobuf:"varint,4,opt,name=Order,proto3" json:"Order,omitempty"`
}

func NewPopulatedPaginate

func NewPopulatedPaginate(r randyPaginate, easy bool) *Paginate

func (*Paginate) Descriptor

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

func (*Paginate) Equal

func (this *Paginate) Equal(that interface{}) bool

func (*Paginate) GoString

func (this *Paginate) GoString() string

func (*Paginate) Marshal

func (m *Paginate) Marshal() (dAtA []byte, err error)

func (*Paginate) MarshalTo

func (m *Paginate) MarshalTo(dAtA []byte) (int, error)

func (*Paginate) MarshalToSizedBuffer

func (m *Paginate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Paginate) ProtoMessage

func (*Paginate) ProtoMessage()

func (*Paginate) Reset

func (m *Paginate) Reset()

func (*Paginate) Size

func (m *Paginate) Size() (n int)

func (*Paginate) String

func (this *Paginate) String() string

func (*Paginate) Unmarshal

func (m *Paginate) Unmarshal(dAtA []byte) error

func (*Paginate) XXX_DiscardUnknown

func (m *Paginate) XXX_DiscardUnknown()

func (*Paginate) XXX_Marshal

func (m *Paginate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Paginate) XXX_Merge

func (m *Paginate) XXX_Merge(src proto.Message)

func (*Paginate) XXX_Size

func (m *Paginate) XXX_Size() int

func (*Paginate) XXX_Unmarshal

func (m *Paginate) XXX_Unmarshal(b []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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