Documentation
¶
Overview ¶
Package wire frames JSON control messages without consuming streamed payloads.
Index ¶
Constants ¶
View Source
const MaxFrame = 8 << 20
Variables ¶
View Source
var ErrFrameTooLarge = errors.New("control message exceeds 8 MiB")
Functions ¶
func BoundResponse ¶ added in v0.4.0
BoundResponse lets both peer and local API callers receive an actionable error even when a provider returns more than the control protocol can carry.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.