An embedded key/value database for Go.
 
 
 
Go to file
Ben Johnson bce3e667df Intermediate commit. 2014-01-21 15:00:48 -07:00
LICENSE Initial commit 2013-12-20 10:26:14 -08:00
Makefile Initial db.open. 2014-01-11 22:51:01 -07:00
README.md Intermediate commit. 2014-01-21 15:00:48 -07:00
branch_node.go Intermediate commit. 2014-01-21 15:00:48 -07:00
bucket.go Intermediate commit. 2014-01-21 15:00:48 -07:00
const.go DB.Open(), pages, and meta. 2014-01-10 07:32:12 -07:00
cursor.go Intermediate commit. 2014-01-21 15:00:48 -07:00
db.go Intermediate commit. 2014-01-21 15:00:48 -07:00
db_test.go Begin Transaction.Cursor(). 2014-01-13 10:35:04 -07:00
error.go Initial db.open. 2014-01-11 22:51:01 -07:00
file.go Finish open coverage. 2014-01-13 08:25:56 -07:00
file_test.go Finish open coverage. 2014-01-13 08:25:56 -07:00
info.go DB.Open(), pages, and meta. 2014-01-10 07:32:12 -07:00
meta.go Add system buckets. 2014-01-14 13:01:02 -07:00
node.go Intermediate commit. 2014-01-21 15:00:48 -07:00
os.go Finish open coverage. 2014-01-13 08:25:56 -07:00
os_test.go Finish open coverage. 2014-01-13 08:25:56 -07:00
page.go Intermediate commit. 2014-01-21 15:00:48 -07:00
reader.go Initial db.open. 2014-01-11 22:51:01 -07:00
rwcursor.go Intermediate commit. 2014-01-21 15:00:48 -07:00
rwtransaction.go Intermediate commit. 2014-01-21 15:00:48 -07:00
stat.go Add mock OS. 2014-01-12 14:59:03 -07:00
syscall_darwin.go Mock syscall. 2014-01-12 15:50:35 -07:00
syscall_darwin_test.go Mock syscall. 2014-01-12 15:50:35 -07:00
transaction.go Refactoring to RWCursor, RWTxn, and branch/leaf nodes and pages. 2014-01-17 15:23:39 -07:00
transaction_test.go Refactoring to RWCursor, RWTxn, and branch/leaf nodes and pages. 2014-01-17 15:23:39 -07:00
warn.go Basic types. 2014-01-08 08:06:17 -07:00

README.md

bolt

Overview

A low-level key/value database for Go.

API

DB

Creating a database

db := DB()
err := db.Open("/path/to/db", 0666)
...
err := db.Close()

Creating a bucket

  • Cursor
DB
Bucket
Transaction / RWTransaction
Cursor / RWCursor

page
meta
branchNode
leafNode