Versions in this module Expand all Collapse all v0 v0.2.0 Nov 16, 2018 v0.1.0 Nov 15, 2018 Changes in this version + const MagicChunks + type ByteSlice interface + Len func() int + Range func(start, end int) []byte + type Meta struct + Chunk chunkenc.Chunk + MaxTime int64 + MinTime int64 + Ref uint64 + func (cm *Meta) OverlapsClosedInterval(mint, maxt int64) bool + type Reader struct + func NewDirReader(dir string, pool chunkenc.Pool) (*Reader, error) + func NewReader(bs []ByteSlice, pool chunkenc.Pool) (*Reader, error) + func (s *Reader) Chunk(ref uint64) (chunkenc.Chunk, error) + func (s *Reader) Close() error + type Writer struct + func NewWriter(dir string) (*Writer, error) + func (w *Writer) Close() error + func (w *Writer) WriteChunks(chks ...Meta) error