Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChunkReader ¶
ChunkReader is an interface describing a reader that streams data in []byte chunks.
type ChunkSource ¶
ChunkSource is an interface describing the source of a Chunker.
type Chunker ¶
type Chunker interface { ChunkReader }
Chunker is an interface for embedding all chunking interfaces under one name.
func NewDefaultChunker ¶
func NewDefaultChunker(source ChunkSource, setters ...Option) Chunker
NewDefaultChunker initializes a DefaultChunker with default values.
type DefaultChunker ¶
type DefaultChunker struct {
// contains filtered or unexported fields
}
DefaultChunker is a conecrete type that implements the Chunker interface.
Click to show internal directories.
Click to hide internal directories.