Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Reader ¶
func Reader(r io.Reader, done <-chan bool) (ResetableReader, ResetableReader)
Reader keeps reading r and writing to 2 other readers, which are returned. It stops only when the done channel is notified.
Types ¶
type ResetableReader ¶
ResetableReader is an io.Reader that can be "reset", i.e.: cleared of everything that was not yet read.
Click to show internal directories.
Click to hide internal directories.