refactor(health): optimize health checking

This commit is contained in:
yusing
2025-09-27 11:32:18 +08:00
parent e2aeef3a86
commit b2713a4b83
11 changed files with 123 additions and 83 deletions

View File

@@ -34,7 +34,7 @@ type (
json.Marshaler
}
HealthChecker interface {
CheckHealth() (result *HealthCheckResult, err error)
CheckHealth() (result HealthCheckResult, err error)
URL() *url.URL
Config() *HealthCheckConfig
UpdateURL(url *url.URL)