Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PaginationHeader ¶
Types ¶
type TokenPaginator ¶
func (*TokenPaginator) ParsePagination ¶
func (p *TokenPaginator) 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.