Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Environment core.Env
BootStrapPath string
L1RpcEndpoint string
L2RpcEndpoint string
SystemConfig *subsystem.Config
ServerConfig *server.Config
MetricsConfig *metrics.Config
AlertConfig *alert.Config
}
Config ... Application level configuration defined by `FilePath` value TODO - Consider renaming to "environment config"
func (*Config) IsBootstrap ¶
IsBootstrap ... Returns true if a state bootstrap is required
func (*Config) IsDevelopment ¶
IsDevelopment ... Returns true if the env is development
func (*Config) IsProduction ¶
IsProduction ... Returns true if the env is production
func (*Config) ParseAlertConfig ¶ added in v1.0.0
ParseAlertConfig ... Parses the alert config
Click to show internal directories.
Click to hide internal directories.