boltAdapter

package
v0.0.0-...-22f264f Latest Latest
Warning

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

Go to latest
Published: May 3, 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 BoltConnection

type BoltConnection struct {
	Database  *bolt.DB
	LastError error
}
var (
	Connection BoltConnection
)

func Connect

func Connect(path string) BoltConnection

Connect to the database

func (BoltConnection) Close

func (db BoltConnection) Close()

func (BoltConnection) Delete

func (db BoltConnection) Delete(bucketName string, key string) error

func (BoltConnection) Seek

func (db BoltConnection) Seek(bucketName string, term string) ([]string, error)

func (BoltConnection) Update

func (db BoltConnection) Update(bucketName string, key string, dataStruct interface{}) error

func (BoltConnection) View

func (db BoltConnection) View(bucketName string, key string, dataStruct interface{}) error

Jump to

Keyboard shortcuts

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