basic

package
v1.0.50 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_basic_pagination_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type PaginationOptions

type PaginationOptions struct {
	Limit     *int64  `protobuf:"varint,1,opt,name=limit,proto3,oneof" json:"limit" form:"limit" query:"limit"`
	LastToken *string `protobuf:"bytes,2,opt,name=lastToken,proto3,oneof" json:"lastToken" form:"lastToken" query:"lastToken"`
	Backward  *bool   `protobuf:"varint,3,opt,name=backward,proto3,oneof" json:"backward" form:"backward" query:"backward"`
	Offset    *int64  `protobuf:"varint,4,opt,name=offset,proto3,oneof" json:"offset" form:"offset" query:"offset"`
	// contains filtered or unexported fields
}

func (*PaginationOptions) Descriptor deprecated

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

Deprecated: Use PaginationOptions.ProtoReflect.Descriptor instead.

func (*PaginationOptions) GetBackward

func (x *PaginationOptions) GetBackward() bool

func (*PaginationOptions) GetLastToken

func (x *PaginationOptions) GetLastToken() string

func (*PaginationOptions) GetLimit

func (x *PaginationOptions) GetLimit() int64

func (*PaginationOptions) GetOffset

func (x *PaginationOptions) GetOffset() int64

func (*PaginationOptions) ProtoMessage

func (*PaginationOptions) ProtoMessage()

func (*PaginationOptions) ProtoReflect

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

func (*PaginationOptions) Reset

func (x *PaginationOptions) Reset()

func (*PaginationOptions) String

func (x *PaginationOptions) String() string

Jump to

Keyboard shortcuts

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