bolt

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	*storm.DB
}

Store is a representation of the bolt datastore

func New

func New(path string) (Store, error)

New creates a new boltdb with given settings

func (*Store) DeleteObject

func (store *Store) DeleteObject(key string) error

func (*Store) GetObject

func (store *Store) GetObject(key string) ([]byte, error)

func (*Store) PutObject

func (store *Store) PutObject(key string, content []byte, force bool) error

Jump to

Keyboard shortcuts

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