Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByronGenesisConfig ¶
type Config ¶
type Config struct { App AppConfig `yaml:"app"` Node NodeConfig `yaml:"node"` Prometheus PrometheusConfig `yaml:"prometheus"` }
func LoadConfig ¶
type NodeConfig ¶
type NodeConfig struct { ByronGenesis ByronGenesisConfig `yaml:"byron"` Binary string `yaml:"binary" envconfig:"CARDANO_NODE_BINARY"` Network string `yaml:"network" envconfig:"CARDANO_NETWORK"` SocketPath string `yaml:"socketPath" envconfig:"CARDANO_NODE_SOCKET_PATH"` NetworkMagic uint32 `yaml:"networkMagic" envconfig:"CARDANO_NODE_NETWORK_MAGIC"` Port uint32 `yaml:"port" envconfig:"CARDANO_PORT"` ShelleyTransEpoch int32 `yaml:"shellyTransEpoch" envconfig:"SHELLEY_TRANS_EPOCH"` BlockProducer bool `yaml:"blockProducer" envconfig:"CARDANO_BLOCK_PRODUCER"` }
Click to show internal directories.
Click to hide internal directories.