Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DelimReader ¶
DelimReader takes an io.Reader and produces the contents of the reader on the returned channel. The contents on the channel will be returned on boundaries specified by the delim parameter, and will include this delimiter.
If an error occurs while reading from the reader, the reading will end.
In the case of an EOF or error, the channel will be closed.
This must only be called once for any individual reader. The behavior is unknown and will be unexpected if this is called multiple times with the same reader.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.