Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateConfiguration ¶
func UpdateConfiguration(configFile string, configuration *Configuration) error
Types ¶
type Configuration ¶
type Configuration struct { DataDirectory string `libucl:"data_directory"` Port int `libucl:"port"` Password string `libucl:"password"` EnableHttps bool `libucl:"enable_https"` BitmarkChain string `libucl:"bitmark_chain"` BitmarkConfigFile string `libucl:"bitmark_config_file"` ProoferdConfigFile string `libucl:"prooferd_config_file"` BitmarkCliConfigFile string `libucl:"bitmark_cli_config_file"` BitmarkPayServiceBin string `libucl:"bitmark_pay_service_bin"` BitmarkConsoleBin string `libucl:"bitmark_console_bin"` Logging LoggerType `libucl:"logging"` }
func GetConfiguration ¶
func GetConfiguration(configurationFileName string) (*Configuration, error)
func GetDefaultConfiguration ¶
func GetDefaultConfiguration(dataDirectory string) (*Configuration, error)
Click to show internal directories.
Click to hide internal directories.