Versions in this module Expand all Collapse all v0 v0.1.1 Nov 19, 2023 Changes in this version + func AppendAction(file io.Writer, action Action) error + func CreateWalAndReturnNotAppliedActions(file *os.File, lastAppliedLSN uint64) (*W, []Action, error) + type Action struct + Expire uint32 + Key []byte + LSN uint64 + Type ActionType + Value []byte + type ActionType byte + const ActionTypeDel + const ActionTypeSet + const ActionTypeUnknown + type W struct + func (w *W) AppendDel(key []byte) (uint64, error) + func (w *W) AppendSet(key []byte, value []byte, expire uint32) (uint64, error) + func (w *W) Checkpoint() error + func (w *W) LastLSN() uint64 v0.1.0 Nov 18, 2023