db

package
v0.2400.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Backends contains the factories for all the backend implementations.

Functions

func GetBackendByName

func GetBackendByName(name string) (api.Factory, error)

GetBackendByName returns the backend implementation factory with the given name.

func New

func New(name string, cfg *api.Config) (api.NodeDB, error)

New creates a given named database backend.

Types

This section is empty.

Directories

Path Synopsis
Package api provides a persistent node database interface for MKVS trees.
Package api provides a persistent node database interface for MKVS trees.
Package badger provides a Badger-backed node database.
Package badger provides a Badger-backed node database.
Package pathbadger provides a Badger-backed node database that uses trie paths as keys.
Package pathbadger provides a Badger-backed node database that uses trie paths as keys.
Package testing provides helpers for running node database tests.
Package testing provides helpers for running node database tests.

Jump to

Keyboard shortcuts

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