Update serviceconf.go (#460)

add regression environment config
master
bittoy 4 years ago committed by GitHub
parent 211f3050e9
commit 28009c4224
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -19,7 +19,7 @@ const (
type ServiceConf struct { type ServiceConf struct {
Name string Name string
Log logx.LogConf Log logx.LogConf
Mode string `json:",default=pro,options=dev|test|pre|pro"` Mode string `json:",default=pro,options=dev|test|rt|pre|pro"`
MetricsUrl string `json:",optional"` MetricsUrl string `json:",optional"`
Prometheus prometheus.Config `json:",optional"` Prometheus prometheus.Config `json:",optional"`
} }

Loading…
Cancel
Save