page

package
v1.28.0-mobile-data-set.1 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2018 License: BSD-2-Clause Imports: 4 Imported by: 20

Documentation

Index

Constants

View Source
const (
	PaginationPageMinimum = 0
	PaginationSizeMinimum = 1
	PaginationSizeMaximum = 100
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Pagination

type Pagination struct {
	Page int `json:"page,omitempty"`
	Size int `json:"size,omitempty"`
}

func NewPagination

func NewPagination() *Pagination

func (*Pagination) MutateRequest added in v1.27.0

func (p *Pagination) MutateRequest(req *http.Request) error

func (*Pagination) Parse

func (p *Pagination) Parse(parser structure.ObjectParser)

func (*Pagination) Validate

func (p *Pagination) Validate(validator structure.Validator)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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