Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTimeout = errors.New("Timeout reached while waiting for bytes.")
Functions ¶
func NewReadCloser ¶
func NewReadCloser(source io.ReadCloser, timeout time.Duration) io.ReadCloser
Timeout ReadCloser: Adds a timer to io.ReadCloser
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.