boltdb

package
v0.0.0-...-04d6450 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package boltdb describes an implementation of boltdb-based metadata storage

Index

Constants

View Source
const SuffixBolt = ".bolt"

Variables

This section is empty.

Functions

func Open

func Open() (storage.MetaStore, error)

Types

type BoltMetaStore

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

func (*BoltMetaStore) Close

func (store *BoltMetaStore) Close() error

func (*BoltMetaStore) Delete

func (store *BoltMetaStore) Delete(path string) error

func (*BoltMetaStore) Get

func (store *BoltMetaStore) Get(path string) ([]byte, error)

func (*BoltMetaStore) List

func (store *BoltMetaStore) List(prefix string) (map[string][]byte, error)

func (*BoltMetaStore) Set

func (store *BoltMetaStore) Set(path string, val []byte) error

Jump to

Keyboard shortcuts

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