Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Continuation ¶
type Continuation struct {
// HasMore reports that more data is available beyond what was returned.
HasMore bool `json:"hasMore,omitempty"`
// Remaining is the estimated number of bytes (or units) not returned.
Remaining int `json:"remaining,omitempty"`
// Returned is the number of bytes (or units) included in this response.
Returned int `json:"returned,omitempty"`
// NextRange provides the next suggested byte/line window for continuation.
NextRange *RangeHint `json:"nextRange,omitempty"`
// PageToken is an opaque continuation token alternative to NextRange.
PageToken string `json:"pageToken,omitempty"`
// Mode optionally records the preview mode applied (e.g., head, tail).
Mode string `json:"mode,omitempty"`
// Binary indicates the returned content is a placeholder/preview for binary data.
Binary bool `json:"binary,omitempty"`
}
Continuation describes a generic pagination/truncation hint that tools can attach to their responses. Presence of this object signals that additional data may be retrieved by following the provided range or page token.
Click to show internal directories.
Click to hide internal directories.