package
0.60.0
Repository: https://github.com/futurehomeno/cliffhanger.git
Documentation: pkg.go.dev

# Functions

NewDatabase creates a new database.
NewDomainDatabase creates a new domain database.
WithCompactionPercentage sets the compaction percentage for the database.
WithCompactionSize sets the compaction size for the database.
WithFilename sets the filename for the database.
WithWorkdir sets the workdir for the database.

# Interfaces

Database is a simple in-memory key-value store with append-only persistence to disk to minimize the disk IO and risk of data corruption.

# Type aliases

Option is a configuration option.