boltstore

package
v0.3.32 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBoltStore

func NewBoltStore(path string) storage.Storer

Types

type BoltStore

type BoltStore struct {
	// contains filtered or unexported fields
}

func (*BoltStore) Delete

func (b *BoltStore) Delete(t storage.KeyType, key string) error

func (*BoltStore) Exists

func (b *BoltStore) Exists(t storage.KeyType, key string) bool

func (*BoltStore) Exit

func (b *BoltStore) Exit() error

func (*BoltStore) Get

func (b *BoltStore) Get(t storage.KeyType, key string) (string, error)

func (*BoltStore) Init

func (b *BoltStore) Init() error

func (*BoltStore) List

func (b *BoltStore) List(t storage.KeyType) ([]string, error)

func (*BoltStore) Put

func (b *BoltStore) Put(t storage.KeyType, key, value string) error

Jump to

Keyboard shortcuts

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