boltdb

package
v0.0.0-...-1e73dc8 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDB

func NewDB(name, dir string) (locketdb.DB, error)

NewDB returns a BoltDB with default options.

func NewDBWithOpts

func NewDBWithOpts(name string, dir string, opts *bbolt.Options) (locketdb.DB, error)

NewDBWithOpts allows you to supply *bbolt.Options. ReadOnly: true is not supported because NewDBWithOpts creates a global bucket.

Types

This section is empty.

Jump to

Keyboard shortcuts

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