bolt

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDB

func NewDB() *boltDB

NewDB returns an object that can be used to connect and push to Bolt DB.

func WithBucketSize

func WithBucketSize(bs time.Duration) runOption

WithBucketSize sets the bucket size for underlying DB.

func WithRetention

func WithRetention(bs time.Duration) runOption

WithRetention sets data retention horizon.

Types

This section is empty.

Jump to

Keyboard shortcuts

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