bolt

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2017 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const BoltDatabaseFilename = "tid.db"

BoltDatabaseFilename is the name of the database file name on disk.

Variables

This section is empty.

Functions

func NewBoltBackend

func NewBoltBackend(db *boltdb.DB) state.Backend

NewBoltBackend create a new Backend instance using Bolt.

func Open

func Open(tidDir string) (*boltdb.DB, error)

Open opens a Bolt database, creating it if it doesn't exist already.

Types

This section is empty.

Jump to

Keyboard shortcuts

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