package
0.0.0-20230203010516-6d4bf48beedd
Repository: https://github.com/onyx-protocol/onyx.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AddAllowedMember configures sinkdb to allow the provided address to participate in Raft.
All encodes the atomic application of all its arguments.
Delete encodes a delete operation for key.
Error returns an Op representing an error condition.
IfNotExists encodes a conditional to make an instruction successful only if the provided key does not exist.
IfNotModified encodes a conditional to make an instruction successful only if the version stored in v's key matches v.
Open initializes the key-value store and returns a database handle.
Set encodes a set operation setting key to value.

# Variables

ErrConflict is returned by Exec when an instruction was not completed because its preconditions were not met.

# Structs

DB provides access to an opened kv store.
Op represents a change to the data store.
Version records the version of a particular key when it is read.