Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchAllPages ¶ added in v1.0.0
func FetchCursorPages ¶ added in v1.9.2
func FetchCursorPages[T any](ac *client.AlpaconClient, endpoint string, params map[string]string, limit int) ([]T, error)
FetchCursorPages follows the Elasticsearch cursor contract, accumulating up to limit items.
Types ¶
type CursorListResponse ¶ added in v1.9.2
CursorListResponse decodes the Elasticsearch cursor-pagination contract (base64 next token, not ListResponse's int page).
Click to show internal directories.
Click to hide internal directories.