databases

package
v0.0.0-...-0e1ba57 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BOLT_TYPE = "bolt"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database interface {
	Close() error
	SetKey(key string, value []byte) error
	GetKey(key string) ([]byte, error)
}

func NewDatabase

func NewDatabase(dbType string, dbPath string, dbExtension string) (Database, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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