Documentation
¶
Index ¶
- Variables
- type ChunkRange
- type Chunks
- func (c *Chunks) CloseReader() error
- func (c *Chunks) Flush() error
- func (c *Chunks) GetChunkRanges() []ChunkRange
- func (c *Chunks) GetLeftmostAbsentRange(min, max uint64) (l uint64, r uint64, err error)
- func (c *Chunks) Open() error
- func (c *Chunks) ReadNext() (uint64, []byte, error)
- func (c *Chunks) SeekReader(pos uint64) error
- func (c *Chunks) Write(pos uint64, payload []byte) error
- type ChunksInterface
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
This section is empty.
Types ¶
type ChunkRange ¶
type ChunkRange struct {
L, R uint64
}
type Chunks ¶
type Chunks struct { Dir string ChunkNamePrefix string CompressionLevel int MaxEntriesPerChunk int MaxChunkSize int // contains filtered or unexported fields }
func (*Chunks) CloseReader ¶
func (*Chunks) GetChunkRanges ¶
func (c *Chunks) GetChunkRanges() []ChunkRange
func (*Chunks) GetLeftmostAbsentRange ¶
func (*Chunks) SeekReader ¶
type ChunksInterface ¶
Click to show internal directories.
Click to hide internal directories.