refactor(health): restructure health check implementations into dedicated check package

- Move health check implementations from monitor/ to new check/ package
- Add h2c, tcp4/6, udp4/6 scheme support to agent health check API
- Add timeout URL parameter to agent health check endpoint
- Remove unused agent dependencies (dnsproviders, lego, various cloud SDKs)
- Use net.JoinHostPort instead of fmt.Sprintf for port joining
This commit is contained in:
yusing
2026-01-08 14:54:33 +08:00
parent db2eda49f1
commit 7c7fabb7a1
15 changed files with 380 additions and 535 deletions

View File

@@ -250,7 +250,7 @@ func (c *SharedClient) Key() string {
return c.key
}
func (c *SharedClient) Address() string {
func (c *SharedClient) DaemonHost() string {
return c.addr
}