Versions in this module Expand all Collapse all v0 v0.37.1 Jun 6, 2022 v0.37.0 Jun 6, 2022 Changes in this version + type Appender interface + Append func(int64, float64) + type Chunk interface + Appender func() (Appender, error) + Bytes func() []byte + Compact func() + Encoding func() Encoding + Iterator func(Iterator) Iterator + NumSamples func() int + func FromData(e Encoding, d []byte) (Chunk, error) + type Encoding uint8 + const EncNone + const EncXOR + func (e Encoding) String() string + type Iterator interface + At func() (int64, float64) + Err func() error + Next func() bool + Seek func(t int64) bool + func MockSeriesIterator(timestamps []int64, values []float64) Iterator + func NewNopIterator() Iterator + type Pool interface + Get func(e Encoding, b []byte) (Chunk, error) + Put func(Chunk) error + func NewPool() Pool + type XORChunk struct + func NewXORChunk() *XORChunk + func (c *XORChunk) Appender() (Appender, error) + func (c *XORChunk) Bytes() []byte + func (c *XORChunk) Compact() + func (c *XORChunk) Encoding() Encoding + func (c *XORChunk) Iterator(it Iterator) Iterator + func (c *XORChunk) NumSamples() int