store

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound = errors.New("key not found")
	ErrBadValue = errors.New("bad value")
)
View Source
var DB *bolt.DB

Functions

func Clear

func Clear() error

func Close

func Close() error

func Delete

func Delete(key string) error

func Get

func Get(key string, value interface{}) error

func Open

func Open(path string) error

func Put

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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