Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChunkMapFunc ¶
type FileChunker ¶
type FileChunker struct { Fname string Size int NumChunks int // contains filtered or unexported fields }
func NewFileChunker ¶
func NewFileChunker(fname string, chunkSize int) (*FileChunker, error)
func (*FileChunker) Apply ¶
func (f *FileChunker) Apply(chunkFunc ChunkFunc, acc interface{}) interface{}
func (*FileChunker) GetChannel ¶
func (f *FileChunker) GetChannel() chan Chunk
func (*FileChunker) Map ¶
func (f *FileChunker) Map(chunkFunc ChunkMapFunc, acc interface{}) Chunker
Click to show internal directories.
Click to hide internal directories.