bouncer/internal/config/proxy_server.go

14 lines
296 B
Go
Raw Normal View History

2023-04-24 20:52:12 +02:00
package config
type ProxyServerConfig struct {
HTTP HTTPConfig `yaml:"http"`
Metrics MetricsConfig `yaml:"metrics"`
2023-04-24 20:52:12 +02:00
}
func NewDefaultProxyServerConfig() ProxyServerConfig {
return ProxyServerConfig{
HTTP: NewHTTPConfig("0.0.0.0", 8080),
Metrics: NewDefaultMetricsConfig(),
2023-04-24 20:52:12 +02:00
}
}