type
CollectionPageEnvelope
CollectionPageEnvelope enriches one collection page with access metadata when the caller explicitly requests it.
Properties
| Property | Type | Description |
|---|---|---|
Docs | []Document | The Docs value. |
Pagination | Pagination | The Pagination value. |
Access | CollectionPageAccess | The Access value. |
Full signature
type CollectionPageEnvelope[Document any] struct {
Docs []Document `json:"docs"`
Pagination Pagination `json:"pagination"`
Access CollectionPageAccess `json:"access"`
}