datastore

package
v0.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2017 License: MPL-2.0 Imports: 0 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Datastore

type Datastore interface {
	Get(string) (*Entry, error)
	Put(*Entry) error
	Delete(string) error
}

Datastore represents a storage engine.

type Entry

type Entry struct {
	Key   string
	Value []byte
}

Entry is the entry for an item in a Store implementation.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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