kv

package
v0.0.0-...-a22099a Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2018 License: MIT Imports: 5 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 struct {
	// contains filtered or unexported fields
}

func New

func New(path string) (*KV, error)

func (*KV) Close

func (kv *KV) Close() error

func (*KV) Get

func (kv *KV) Get(id string, res interface{}) error

func (*KV) Insert

func (kv *KV) Insert(data interface{}) (*id.ID, error)

Jump to

Keyboard shortcuts

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