You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
404 B
Go
13 lines
404 B
Go
2 years ago
|
package devserver
|
||
|
|
||
|
// Config is config for inner http server.
|
||
|
type Config struct {
|
||
|
Enabled bool `json:",default=true"`
|
||
|
Host string `json:",optional"`
|
||
|
Port int `json:",default=6470"`
|
||
|
MetricsPath string `json:",default=/metrics"`
|
||
|
HealthPath string `json:",default=/healthz"`
|
||
|
EnableMetrics bool `json:",default=true"`
|
||
|
EnablePprof bool `json:",default=true"`
|
||
|
}
|