doc.go raw

   1  /*Package bdb implements an instance of walletdb that uses boltdb for the backing
   2  datastore.
   3  
   4  Usage
   5  
   6  This package is only a driver to the walletdb package and provides the database type of "bdb". The only parameter the
   7  Open and Create functions take is the database path as a string:
   8  
   9  	db, e := walletdb.Open("bdb", "path/to/database.db")
  10  	if e != nil  {
  11  		// Handle error
  12  	}
  13  	db, e := walletdb.Create("bdb", "path/to/database.db")
  14  	if e != nil  {
  15  		// Handle error
  16  	}
  17  */
  18  package bdb
  19