Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultChainName = "rchain"
Variables ¶
This section is empty.
Functions ¶
func WriteConfigFile ¶
func WriteConfigFile(configFilePath string, config *RAServerConfig)
Types ¶
type RAServerConfig ¶
type RAServerConfig struct { ExampleMetric float64 `mapstructure:"example_metric"` ChainName string `mapstructure:"chain_name"` }
func DefaultRAServerConfig ¶
func DefaultRAServerConfig() *RAServerConfig
func ReadConfigFile ¶
func ReadConfigFile(configFilePath string) (config *RAServerConfig, err error)
Click to show internal directories.
Click to hide internal directories.