Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDataPath ¶
func GetIndexPath ¶
func GetTmpPath ¶
Types ¶
type Chunk ¶
func CreateChunk ¶
func (*Chunk) ForEachActiveRecord ¶
func (c *Chunk) ForEachActiveRecord(repeatTimeout time.Duration, handler ChunkRecordHandler)
func (*Chunk) Store ¶
func (c *Chunk) Store(data DataRecord) error
type ChunkRecordHandler ¶
type ChunkRecordHandler func(*Chunk, IndexRecord) bool
type Index ¶
type Index struct { Header *IndexHeader Records []IndexRecord // contains filtered or unexported fields }
func (*Index) AppendRecord ¶
func (index *Index) AppendRecord() (*IndexRecord, error)
type IndexHeader ¶
type IndexRecord ¶
type Storer ¶
type Storer struct { Chunks chan string // contains filtered or unexported fields }
func StartStorer ¶
func (*Storer) AddWithTTL ¶
Click to show internal directories.
Click to hide internal directories.