Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PaginatedResponse ¶
type PaginatedResponse struct { Count int `json:"count"` Offset int `json:"offset"` Limit int `json:"limit"` TotalCount int `json:"total_count"` }
PaginatedResponse represents the pagination related values that go into list based response
type Paginator ¶
Paginator is a type to hold pagination related defaults, and provides helper functions using the defaults if needed
func NewPaginator ¶
NewPaginator creates a new instance
Click to show internal directories.
Click to hide internal directories.