Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeWriter ¶
func MergeWriter(sink io.WriteCloser, parts int, blockSize int) []io.WriteCloser
MergeWriter returns list of WriteCloser-s Then it reads data from each of n=`parts` WriteClosers in blocks of `blockSize` and writes data to `sink` writer. MergeWriter gets ownership over sink and will close it.
func NewChannelReader ¶
func NewChannelReader(in <-chan []byte) io.ReadCloser
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.