Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Logging LoggingConfig `yaml:"logging"`
Api ApiConfig `yaml:"api"`
Metrics MetricsConfig `yaml:"metrics"`
Debug DebugConfig `yaml:"debug"`
Node NodeConfig `yaml:"node"`
Tls TlsConfig `yaml:"tls"`
Utxorpc UtxorpcConfig `yaml:"utxorpc"`
}
type DebugConfig ¶
type LoggingConfig ¶
type MetricsConfig ¶
type NodeConfig ¶
type NodeConfig struct {
Network string `yaml:"network" envconfig:"CARDANO_NETWORK"`
NetworkMagic uint32 `yaml:"networkMagic" envconfig:"CARDANO_NODE_NETWORK_MAGIC"`
Address string `yaml:"address" envconfig:"CARDANO_NODE_SOCKET_TCP_HOST"`
Port uint `yaml:"port" envconfig:"CARDANO_NODE_SOCKET_TCP_PORT"`
QueryTimeout uint `yaml:"queryTimeout" envconfig:"CARDANO_NODE_SOCKET_QUERY_TIMEOUT"`
SkipCheck bool `yaml:"skipCheck" envconfig:"CARDANO_NODE_SKIP_CHECK"`
SocketPath string `yaml:"socketPath" envconfig:"CARDANO_NODE_SOCKET_PATH"`
Timeout uint `yaml:"timeout" envconfig:"CARDANO_NODE_SOCKET_TIMEOUT"`
}
type UtxorpcConfig ¶
Click to show internal directories.
Click to hide internal directories.