Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterConfig ¶
type Config ¶
type Config struct { Profiling ProfilingConfig Prometheus PrometheusConfig Logging LoggingConfig Http HttpConfig Grpc GrpcConfig Raft RaftConfig Storage StorageConfig Queue QueueConfig Cluster ClusterConfig }
func LoadConfig ¶
type GrpcConfig ¶
type GrpcConfig struct {
Address string `mapstructure:"address"`
}
type HttpConfig ¶
type HttpConfig struct {
Port string `mapstructure:"port"`
}
type LoggingConfig ¶
type LoggingConfig struct {
LogLevel string `mapstructure:"level"`
}
type ProfilingConfig ¶
type ProfilingConfig struct {
Enabled bool `mapstructure:"enabled"`
}
type PrometheusConfig ¶ added in v0.2.0
type PrometheusConfig struct {
Enabled bool `mapstructure:"enabled"`
}
type QueueConfig ¶
type RaftConfig ¶
type RaftConfig struct {
Address string `mapstructure:"address"`
}
type StorageConfig ¶
Click to show internal directories.
Click to hide internal directories.