package
0.0.0-20220412220916-5ea02083e3ec
Repository: https://github.com/riteshrch/go-edge-device-lib.git
Documentation: pkg.go.dev

# Functions

Wrap wraps a given datastore with a KeyTransform function.

# Structs

Datastore keeps a KeyTransform function.
Pair is a convince struct for constructing a key transform.
PrefixTransform constructs a KeyTransform with a pair of functions that add or remove the given prefix key.

# Interfaces

KeyTransform is an object with a pair of functions for (invertibly) transforming keys.

# Type aliases

KeyMapping is a function that maps one key to annother.