Versions in this module Expand all Collapse all v1 v1.0.2 Jul 15, 2022 Changes in this version + type Example struct + Float float64 + Int int + String string + func ExampleRead(reader Reader, index ...uint64) *Example + func (e *Example) MarshalBinary() ([]byte, error) + func (e *Example) UnmarshalBinary(bytes []byte) error v1.0.1 Jul 8, 2022 Changes in this version type Owner + Load func(config Configuration) (err error) + PruneDirectory func(indices ...uint64) (err error) + UpdateIndexes func(indexSize ...int64) (size int64, err error) v1.0.0 Sep 21, 2021 Changes in this version + const ErrIndexNotFoundf + const ErrMaxChunkData + const ErrMaxStoreSize + const ErrNoItemsToWrite + const ErrNotConfigured + const ErrNotDirectory + const ErrTooManyIndicesToRead + const ErrUnableMakeDir + const ErrUnsupportedTypef + func MegaByteToByte(n int64) int64 + func New(parameters ...interface{}) interface + type Configuration struct + Directory string + FileLocking bool + FilePrefix string + IndexerRate time.Duration + LaunchIndexer bool + MaxChunk int64 + MaxFileSize int64 + MaxFiles int + type Info interface + Length func() (size int) + Size func() (size int64) + type Manage interface + Load func(config Configuration) (err error) + PruneDirectory func(indices ...uint64) (err error) + type Owner interface + Close func() (err error) + type Reader interface + Read func(indices ...uint64) (bytes []byte, err error) + type Writer interface + Delete func(indices ...uint64) (err error) + Write func(items ...interface{}) (index uint64, err error)