package
0.0.0-20240513071911-9e82ed405c93
Repository: https://github.com/onflowser/badger-js.git
Documentation: pkg.go.dev

# Constants

None mode indicates that a block is not compressed.
NoVerification indicates DB should not verify checksum for SSTable blocks.
OnBlockRead indicates checksum should be verified on every SSTable block read.
OnTableAndBlockRead indicates checksum should be verified on SSTable opening and on every block read.
OnTableRead indicates checksum should be verified while opening SSTtable.
Snappy mode indicates that a block is compressed using Snappy algorithm.
ZSTD mode indicates that a block is compressed using ZSTD algorithm.

# Type aliases

ChecksumVerificationMode tells when should DB verify checksum for SSTable blocks.
CompressionType specifies how a block should be compressed.