Some checks reported errors
Cadoles/bouncer/pipeline/head Something is wrong with the build of this commit
14 lines
296 B
Go
14 lines
296 B
Go
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(),
|
|
}
|
|
}
|