package
0.0.0-20200910025355-16b87a018301
Repository: https://github.com/bedreamcoder/wal.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Create creates a WAL ready for appending records.
Exist returns true if there are any files in a given directory.
No description provided by the author
No description provided by the author
No description provided by the author
Open opens the WAL at the given snap.
OpenForRead only opens the wal files for read.
No description provided by the author
Repair tries to repair ErrUnexpectedEOF in the last wal file by truncating.
ValidSnapshotEntries returns all the valid snapshot entries in the wal logs in the given directory.
Verify reads through the given WAL and verifies that it is not corrupted.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
64MB.

# Structs

WAL is a logical representation of the stable storage.

# Interfaces

HardState implement custom state data struct for save the system latest state to wal.
LogEntry implement custom entry data struct with entry index.
No description provided by the author
Snapshot implement custom snapshot struct with entry index.
No description provided by the author

# Type aliases

No description provided by the author