|
package config
|
|
|
|
type ProxyServerConfig struct {
|
|
HTTP HTTPConfig `yaml:"http"`
|
|
Metrics MetricsConfig `yaml:"metrics"`
|
|
}
|
|
|
|
func NewDefaultProxyServerConfig() ProxyServerConfig {
|
|
return ProxyServerConfig{
|
|
HTTP: NewHTTPConfig("0.0.0.0", 8080),
|
|
Metrics: NewDefaultMetricsConfig(),
|
|
}
|
|
}
|