package
0.0.0-20210803074232-48d19ed88b71
Repository: https://github.com/iceming123/ups.git
Documentation: pkg.go.dev

# Functions

NewLDBDatabase returns a LevelDB wrapped object.
No description provided by the author
No description provided by the author
NewTable returns a Database object that prefixes all keys with a given string.
NewTableBatch returns a Batch object which prefixes all keys with a given string.

# Constants

Code using batches should try to add this much data to the batch.

# Variables

No description provided by the author

# Structs

No description provided by the author
* This is a test memory database.

# Interfaces

AncientReader contains the methods required to read from immutable ancient data.
AncientWriter contains the methods required to write to immutable ancient data.
Batch is a write-only database that commits changes to its host database when Write is called.
Batcher wraps the NewBatch method of a backing data store.
Compacter wraps the Compact method of a backing data store.
Database wraps all database operations.
Deleter wraps the database delete operation supported by both batches and regular databases.
Iteratee wraps the NewIterator methods of a backing data store.
Iterator iterates over a database's key/value pairs in ascending key order.
KeyValueStore contains all the methods required to allow handling different key-value data stores backing the high level database.
KeyValueWriter wraps the Put method of a backing data store.
Putter wraps the database write operation supported by both batches and regular databases.
Reader contains the methods required to read data from both key-value as well as immutable ancient data.
Stater wraps the Stat method of a backing data store.
Writer contains the methods required to write data to both key-value as well as immutable ancient data.