chore: get HealCheckURL from pd if groupOption URL is empty

This commit is contained in:
Larvan2
2024-02-24 14:52:42 +08:00
parent d2a5376cb8
commit 8d9eb1e534
3 changed files with 22 additions and 6 deletions

View File

@@ -73,6 +73,7 @@ type ProxyProvider interface {
HealthCheck()
Version() uint32
RegisterHealthCheckTask(url string, expectedStatus utils.IntRanges[uint16], filter string, interval uint)
HealthCheckURL() string
}
// RuleProvider interface