Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PaginationHeader ¶
Types ¶
type PagePaginator ¶
func (*PagePaginator) ParsePagination ¶
func (p *PagePaginator) ParsePagination(r *http.Request) (page, itemsPerPage int)
ParsePagination parses limit and page from *http.Request with given limits and defaults.
Click to show internal directories.
Click to hide internal directories.