Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePage ¶
func CreatePage() func(pagination.PageResult) pagination.Page
CreatePage is used to use pagination.NewPager with any of the Metis V1 endpoints.
Types ¶
type CommonPage ¶
type CommonPage struct {
pagination.LinkedPageBase
}
CommonPage is the common base type for all pagination pages used by Metis V1 endpoints.
func (CommonPage) IsEmpty ¶
func (p CommonPage) IsEmpty() (bool, error)
IsEmpty determines whether or not a page of projects contains any results.
func (CommonPage) NextPageURL ¶
func (p CommonPage) NextPageURL() (string, error)
NextPageURL extracts the "next" link from the response.
Click to show internal directories.
Click to hide internal directories.