Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Iter ¶
type Iter[T any] struct { // contains filtered or unexported fields }
Iter defines an iterator type that list methods should return. The contained type should typically be a model that's returned in the results of a list method response.
func NewIter ¶
NewIter returns a new initialized iterator. This method automatically makes the first query to populate the results. List methods should use this helper method when building domain specific iterators.
type ListResponse ¶
type ListResponse interface { // NextPage returns a URL for retrieving the next page of list results. NextPage() string }
ListResponse defines an interface that list API responses must implement.
Click to show internal directories.
Click to hide internal directories.