Versions in this module Expand all Collapse all v0 v0.1.0 Dec 18, 2020 Changes in this version + const AlwaysSync + const FragmentationBased + const NoSync + const SyncEverySecond + const TimeBased + type CompactionMode int + type Config struct + AutoCompaction bool + BufferSize int + CompactAfter int + CompactionChunkSize int + CompactionMode CompactionMode + HighWaterMark int + OpenTimeout time.Duration + Path string + SyncPolicy SyncPolicy + type HybridLog interface + Close func() error + ReadAt func(b []byte, off int64) (int, error) + Size func() int64 + Write func(p []byte) (int, error) + func Open(cfg Config) (HybridLog, error) + type SyncPolicy int