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.
Click to show internal directories.
Click to hide internal directories.