kv

package
v0.0.0-...-42c81d0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2015 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KV

type KV interface {
	Get(key []byte) ([]byte, error)
	Put(key, value []byte) error
}

type NotFound

type NotFound struct {
	Key []byte
}

NotFound is the type of error returned by a KV when it cannot find the requested key.

func (NotFound) Error

func (n NotFound) Error() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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