type

Pagination

type Pagination struct { Page int `json:"page"` Limit int `json:"limit"` TotalDocs int `json:"totalDocs"` TotalPages int `json:"totalPages"` HasNextPage bool `json:"hasNextPage"` HasPrevPage bool `json:"hasPrevPage"` }

Stable page metadata independent of document type.

Source protocol/envelope.go:55

Pageint
The Page value.
Limitint
The Limit value.
TotalDocsint
The TotalDocs value.
TotalPagesint
The TotalPages value.
HasNextPagebool
The HasNextPage value.
HasPrevPagebool
The HasPrevPage value.