page

package
v1.5.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CursorParams

type CursorParams struct {
	pgdb.CursorPageParams
}

CursorParams is a wrapper around pgdb.CursorPageParams with useful validation and rendering methods

func (p *CursorParams) GetLinks(r *http.Request, last int32) *resources.Links

func (*CursorParams) Validate

func (p *CursorParams) Validate() error

type OffsetParams

type OffsetParams struct {
	pgdb.OffsetPageParams
}

OffsetParams is a wrapper around pgdb.OffsetPageParams with useful validation and rendering methods

func (p *OffsetParams) GetLinks(r *http.Request) *resources.Links

func (*OffsetParams) Validate

func (p *OffsetParams) Validate() error

Jump to

Keyboard shortcuts

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