mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-23 09:00:20 +08:00
14 lines
455 B
Go
14 lines
455 B
Go
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=6060"`
|
|
MetricsPath string `json:",default=/metrics"`
|
|
HealthPath string `json:",default=/healthz"`
|
|
EnableMetrics bool `json:",default=true"`
|
|
EnablePprof bool `json:",default=true"`
|
|
HealthResponse string `json:",default=OK"`
|
|
}
|