kvs

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KVS

type KVS struct {
	DBPath string
	Bucket string
	// contains filtered or unexported fields
}

func Open

func Open(dbPath string, bucket string) (kvs *KVS, err error)

func (*KVS) Close

func (kvs *KVS) Close()

func (*KVS) Get

func (kvs *KVS) Get(key string) (json []byte)

func (*KVS) Set

func (kvs *KVS) Set(key string, json []byte) (err error)

Jump to

Keyboard shortcuts

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