We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0fc45d commit 2428cdbCopy full SHA for 2428cdb
examples/http_go_restful/main.go
@@ -9,6 +9,7 @@ import (
9
10
// 应用metric
11
_ "github.com/infraboard/mcube/v2/ioc/apps/apidoc/restful"
12
+ _ "github.com/infraboard/mcube/v2/ioc/apps/health/restful"
13
_ "github.com/infraboard/mcube/v2/ioc/apps/metric/restful"
14
)
15
ioc/apps/health/interface.go
@@ -13,7 +13,7 @@ const (
type HealthCheck struct {
16
- Path string `json:"path" yaml:"path" toml:"path" env:"HEALTH_CHECK_PATH"`
+ Path string `json:"path" yaml:"path" toml:"path" env:"HTTP_HEALTH_CHECK_PATH"`
17
}
18
19
type HealthCheckResponse struct {
0 commit comments