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 {
BadgerCacheSize int64 `split_words:"true" yaml:"badgerCacheSize"`
MempoolCapacity int64 `split_words:"true" yaml:"mempoolCapacity"`
BindAddr string `split_words:"true" yaml:"bindAddr"`
CardanoConfig string ` yaml:"cardanoConfig" envconfig:"config"`
DatabasePath string `split_words:"true" yaml:"databasePath"`
SocketPath string `split_words:"true" yaml:"socketPath"`
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 `split_words:"true" yaml:"metricsPort"`
PrivateBindAddr string `split_words:"true" yaml:"privateBindAddr"`
PrivatePort uint `split_words:"true" yaml:"privatePort"`
RelayPort uint ` yaml:"relayPort" envconfig:"port"`
UtxorpcPort uint `split_words:"true" yaml:"utxorpcPort"`
IntersectTip bool `split_words:"true" yaml:"intersectTip"`
DevMode bool `split_words:"true" yaml:"devMode"`
}
func FromContext ¶ added in v0.5.0
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.