database

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Component *app.Component
)
View Source
var ParamsDatabase = &ParametersDatabase{}

Functions

This section is empty.

Types

type ParametersDatabase

type ParametersDatabase struct {
	Tangle struct {
		// Path defines the path to the database folder.
		Path string `default:"database/tangle" usage:"the path to the tangle database folder"`
	}

	Snapshot struct {
		// Path defines the path to the database folder.
		Path string `default:"database/snapshot" usage:"the path to the snapshot database folder"`
	}

	Spent struct {
		// Path defines the path to the database folder.
		Path string `default:"database/spent" usage:"the path to the spent database folder"`
	}

	// Debug defines whether to ignore the check for corrupted databases (should only be used for debug reasons).
	Debug bool `default:"false" usage:"ignore the check for corrupted databases (should only be used for debug reasons)"`
}

ParametersDatabase contains the definition of the parameters used by the ParametersDatabase.

Jump to

Keyboard shortcuts

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