page

package
v1.20.1-dexcom-api-val... Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2017 License: BSD-3-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) Mutate

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

func (*Pagination) Parse

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

func (*Pagination) Validate

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

Jump to

Keyboard shortcuts

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