boltdb

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBucket

func NewBucket(opts *Options) (core.Bucket, error)

NewBucket creates badger-bucket instance.

Types

type Options

type Options struct {
	bbolt.Options
	Name []byte
	Path string
	Perm os.FileMode
}

Options groups the BoltDB bucket's options.

func NewOptions

func NewOptions(name core.BucketType, v *viper.Viper) (opts Options, err error)

NewOptions prepares options for badger instance.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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