db

package
v0.0.0-...-9ebacd0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2017 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB interface {
	Put(key string, value interface{}) error
	Get(key string) (interface{}, error)
}

type LocalDB

type LocalDB map[string]interface{}

func (LocalDB) Get

func (l LocalDB) Get(key string) (interface{}, error)

func (LocalDB) Put

func (l LocalDB) Put(key string, value interface{}) error

Jump to

Keyboard shortcuts

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