Versions in this module Expand all Collapse all v5 v5.0.1 Jul 28, 2026 Changes in this version + type Change struct + AfterKey Key + Kind ChangeKind + Row Row + type ChangeKind uint8 + const ChangeRemove + const ChangeUpsert + type Engine struct + func New() *Engine + func Restore(parseState State) (*Engine, error) + func (parseEngine *Engine) Apply(parseChanges []Change) ([]Op, error) + func (parseEngine *Engine) ExportState() State + func (parseEngine *Engine) Keys() []Key + func (parseEngine *Engine) Len() int + func (parseEngine *Engine) Publish(parseRows []Row) ([]Op, error) + func (parseEngine *Engine) Reset() + func (parseEngine *Engine) Version(parseKey Key) (uint64, bool) + type Key string + type Op struct + AfterKey Key + Key Key + Kind OpKind + Payload []byte + type OpKind uint8 + const OpInsert + const OpMove + const OpRemove + const OpUpdate + func (parseKind OpKind) String() string + type Row struct + Key Key + Payload []byte + Version uint64 + type State struct + Order []Key + Versions []uint64