db

package
v0.0.0-...-59e4915 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close(database Database)

Types

type Database

type Database struct {
	// contains filtered or unexported fields
}

Database is bolt. A fork of etcd

func NewDatabase

func NewDatabase(path string) (*Database, error)

func (*Database) Get

func (d *Database) Get(key string) ([]byte, error)

func (*Database) Set

func (d *Database) Set(key string, value []byte) error

Jump to

Keyboard shortcuts

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