Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUser = errors.New("error set by user")
ErrUser is returned by ChunkReader when the user requests an error.
Functions ¶
func ChunkReader ¶
ChunkReader returns a reader that returns chunks written to the control channel. The caller should write byte chunks to return to the channel, or write nil if they want the Reader to return an error. The control channel should be closed to signal EOF.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.