Versions in this module Expand all Collapse all v0 v0.1.0 May 2, 2020 Changes in this version + const DefaultBufferSize + type LogStatus uint16 + type Options struct + BufferSize int64 + Path string + TargetSize int64 + type Reader struct + Id uid.LID + func (r *Reader) Count() uint32 + func (r *Reader) Next() ([]byte, bool) + func (r *Reader) Read(f func(uint64, bool) (bool, error)) (err error) + type WAL struct + func New(opts Options) (*WAL, bool, error) + func (wal *WAL) Close() error + func (wal *WAL) NewReader() (*Reader, error) + func (wal *WAL) NewWriter() (*Writer, error) + func (wal *WAL) Seq() uint64 + func (wal *WAL) SignalLogApplied(upperSeq uint64) error + func (wal *WAL) Sync() error + type Writer struct + Id uid.LID + func (w *Writer) Append(data []byte) <-chan error + func (w *Writer) SignalInitWrite(seq uint64) <-chan error