Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Page ¶
type Page struct { Start int `json:"start"` Length int `json:"legth"` HasMore bool `json:"-"` SortDescending bool `json:"-"` SortBy string `json:"-"` }
Page represents the details of a request for a specific page in a collection of entities.
func FromQueryString ¶
FromQueryString returns a Page filled with values from the given URL's query string.
func (*Page) FromQueryString ¶
FromQueryString fills this Page's fields with values from the given URL's query string.
func (Page) QueryString ¶
QueryString returns the query string to retrieve this Page.
Click to show internal directories.
Click to hide internal directories.