Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTopologyConfig ¶
func GetTopologyConfig() *topology.TopologyConfig
func LoadTopologyConfig ¶
func LoadTopologyConfig() (*topology.TopologyConfig, error)
Types ¶
type Config ¶
type Config struct { BindAddr string `yaml:"bindAddr" split_words:"true"` CardanoConfig string `yaml:"cardanoConfig" envconfig:"config"` DatabasePath string `yaml:"databasePath" split_words:"true"` SocketPath string `yaml:"socketPath" split_words:"true"` Network string `yaml:"network"` TlsCertFilePath string `yaml:"tlsCertFilePath" envconfig:"TLS_CERT_FILE_PATH"` TlsKeyFilePath string `yaml:"tlsKeyFilePath" envconfig:"TLS_KEY_FILE_PATH"` Topology string `yaml:"topology"` MetricsPort uint `yaml:"metricsPort" split_words:"true"` PrivateBindAddr string `yaml:"privateBindAddr" split_words:"true"` PrivatePort uint `yaml:"privatePort" split_words:"true"` RelayPort uint `yaml:"relayPort" envconfig:"port"` UtxorpcPort uint `yaml:"utxorpcPort" split_words:"true"` IntersectTip bool `yaml:"intersectTip" split_words:"true"` }
func FromContext ¶ added in v0.5.0
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.