Documentation ¶ Index ¶ func FetchAllPages[T any](ac *client.AlpaconClient, endpoint string, params map[string]string) ([]T, error) type ListResponse Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func FetchAllPages ¶ added in v1.0.0 func FetchAllPages[T any](ac *client.AlpaconClient, endpoint string, params map[string]string) ([]T, error) Types ¶ type ListResponse ¶ type ListResponse[T any] struct { Count int `json:"count"` Current int `json:"current"` Next int `json:"next"` Previous int `json:"previous"` Last int `json:"last"` Results []T `json:"results"` } Source Files ¶ View all Source files pagination.gotypes.go Directories ¶ Show internal Expand all Path Synopsis agent audit auth auth0 cert event ftp iam log mfa note packages security server tunnel webftp webhook websh workspace Click to show internal directories. Click to hide internal directories.