package
1.3.1
Repository: https://github.com/boltdb/bolt.git
Documentation: pkg.go.dev

# Functions

NewMain returns a new instance of Main connect to the standard input/output.
ReadPage reads page info & full page data from a path.
ReadPageSize reads page size a path.

# Constants

PageHeaderSize represents the size of the bolt.page header.

# Variables

ErrCorrupt is returned when a checking a data file finds errors.
ErrFileNotFound is returned when a Bolt database does not exist.
ErrInvalidValue is returned when a benchmark reads an unexpected value.
ErrNonDivisibleBatchSize is returned when the batch size can't be evenly divided by the iteration count.
ErrPageFreed is returned when reading a page that has already been freed.
ErrPageIDRequired is returned when a required page id is not specified.
ErrPageNotFound is returned when specifying a page above the high water mark.
ErrPathRequired is returned when the path to a Bolt database is not specified.
ErrUnknownCommand is returned when a CLI command is not specified.
ErrUsage is returned when a usage message was printed and the process should simply exit with an error.

# Structs

BenchCommand represents the "bench" command execution.
BenchOptions represents the set of options that can be passed to "bolt bench".
BenchResults represents the performance results of the benchmark.
CheckCommand represents the "check" command execution.
CompactCommand represents the "compact" command execution.
DumpCommand represents the "dump" command execution.
InfoCommand represents the "info" command execution.
Main represents the main program execution.
PageCommand represents the "page" command execution.
PagesCommand represents the "pages" command execution.
StatsCommand represents the "stats" command execution.