request

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OffsetField   = "offset"
	DefaultOffset = 0

	LimitField   = "limit"
	DefaultLimit = 20
)

Variables

View Source
var (
	ErrInvalidArguments = errors.New("invalid request arguments")
)

Functions

func ExtractPagination

func ExtractPagination(r *http.Request) (offset int, limit int, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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