store

package
v0.0.0-...-e995ff0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NotFoundError    = errors.New("key not found")
	InvalidDataError = errors.New("value could not be decoded into a store object")
)

Functions

This section is empty.

Types

type Object

type Object map[string][]byte

func (Object) GetData

func (o Object) GetData() map[string][]byte

type Store

type Store interface {
	Get(key string) (Object, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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