Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IoDups ¶ added in v0.6.0
type IoDups struct {
// contains filtered or unexported fields
}
func NewIoDups ¶ added in v0.6.0
NewIoDups creates iodups cache and set the iodups defaults The optional params may include 3 optional integers as parameters: 1. The number of outputs (default is 2) 2. The number of buffers which may be at least 3 (default is 1024) 3. The size of the buffers (default is 8192)
func (*IoDups) NewIoDup ¶ added in v0.6.0
func (iodups *IoDups) NewIoDup(src io.ReadCloser) []*Out
Create a New iodup to wrap an existing provider of an io.ReadCloser interface The new iodup.out[] will expose an io.ReadCloser interface A goroutine will be initiated to wait on the original provider Read interface and deliver the data to the Readwer using an internal channel
Click to show internal directories.
Click to hide internal directories.