kv

package
v0.0.0-...-41cd4ca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2022 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeySession

func KeySession() string

KeySession returns the base kv key prefix.

Types

type EncryptionError

type EncryptionError struct {
	// contains filtered or unexported fields
}

EncryptionError is returned when a an encryption error occurs.

func (*EncryptionError) Error

func (e *EncryptionError) Error() string

Error returns the error message as a string.

type Error

type Error error

Error represents a database specific error.

var (
	// ErrNil is returned when the kv value is nil.
	ErrNil Error = fmt.Errorf("nil")
)

func NewEncryptionError

func NewEncryptionError(msg string) Error

NewEncryptionError wraps a message in an EncryptionError object.

type KV

type KV interface {
}

KV represents a key value store.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL