Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
MetricsAddr string `yaml:"metricsAddr" default:":9090"`
// HealthCheckAddr is the address to listen on for healthcheck.
HealthCheckAddr *string `yaml:"healthCheckAddr"`
// PProfAddr is the address to listen on for pprof.
PProfAddr *string `yaml:"pprofAddr"`
// APIAddr is the address to listen on for the API server.
APIAddr *string `yaml:"apiAddr"`
// LoggingLevel is the logging level to use.
LoggingLevel string `yaml:"logging" default:"info"`
// Ethereum is the ethereum network configuration.
Ethereum ethereum.Config `yaml:"ethereum"`
// Redis is the redis configuration.
Redis *redis.Config `yaml:"redis"`
// StateManager is the state manager configuration.
StateManager state.Config `yaml:"stateManager"`
// Processors is the processor configuration.
Processors processor.Config `yaml:"processors"`
// ShutdownTimeout is the timeout for shutting down the server.
ShutdownTimeout time.Duration `yaml:"shutdownTimeout" default:"10s"`
}
Click to show internal directories.
Click to hide internal directories.