bbolt

package
v0.0.0-...-c7a1919 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BBoltStore

type BBoltStore struct {
	ContentDatabase *bbolt.Database
	UserDatabase    *bbolt.Database
}

func (*BBoltStore) BuildDagFromStore

func (store *BBoltStore) BuildDagFromStore(root string) (*merkle_dag.Dag, error)

func (*BBoltStore) InitStore

func (store *BBoltStore) InitStore(args ...interface{}) error

func (*BBoltStore) RetrieveLeaf

func (store *BBoltStore) RetrieveLeaf(root string, hash string) (*merkle_dag.DagLeaf, error)

func (*BBoltStore) StoreDag

func (store *BBoltStore) StoreDag(dag *merkle_dag.Dag) error

func (*BBoltStore) StoreLeaf

func (store *BBoltStore) StoreLeaf(root string, leaf *merkle_dag.DagLeaf) error

Jump to

Keyboard shortcuts

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