bchwallet: github.com/gcash/bchwallet/walletdb/bdb Index | Files

package bdb

import "github.com/gcash/bchwallet/walletdb/bdb"

Package bdb implements an instance of walletdb that uses boltdb for the backing datastore.

Usage

This package is only a driver to the walletdb package and provides the database type of "bdb". The only parameter the Open and Create functions take is the database path as a string:

db, err := walletdb.Open("bdb", "path/to/database.db")
if err != nil {
	// Handle error
}

db, err := walletdb.Create("bdb", "path/to/database.db")
if err != nil {
	// Handle error
}

Index

Package Files

db.go doc.go driver.go

Package bdb imports 5 packages (graph) and is imported by 1 packages. Updated 2019-05-17. Refresh now. Tools for package owners.