package
0.0.0-20201029031353-9742f5acb6e0
Repository: https://github.com/cachecashproject/go-cachecash.git
Documentation: pkg.go.dev

# Packages

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

# Functions

NewClient creates a new client.
NewDBDriver creates a new DBDriver from a db handle.
NewMemoryDriver returns a Driver that is basically a locked map.

# Variables

ErrAlreadySet refers to create operations that would overwrite an intended value.
ErrInvalidType covers types that are invalid for exchange with this library.
ErrMarshal is returned when marshaling from a native type failed.
ErrNotEqual indicates that a CAS operation failed its compare.
ErrUnmarshal is returned when unmarshaling to a native type failed.
ErrUnsetValue is returned when nil is sent because the value is unset.

# Structs

Client is the typical end-user entry into the k/v system.
DBDriver is a database driver.
MemoryDriver implements a very basic key/value store over a map.

# Interfaces

Driver describes the driver implementation of a k/v store's operations.

# Type aliases

MemoryTable is the underlying data structure used to manage memory in the MemoryDriver.