package nnet import ( healthpkg "github.com/noahlann/nnet/pkg/health" ) // HealthChecker 健康检查器类型别名 type HealthChecker = healthpkg.Checker // HealthCheck 健康检查类型别名 type HealthCheck = healthpkg.Check // HealthStatus 健康状态类型别名 type HealthStatus = healthpkg.Status // HealthCheckResult 健康检查结果类型别名 type HealthCheckResult = healthpkg.CheckResult // 健康状态常量 const ( StatusHealthy = healthpkg.StatusHealthy StatusUnhealthy = healthpkg.StatusUnhealthy StatusDegraded = healthpkg.StatusDegraded ) // NewHealthChecker 创建健康检查器 func NewHealthChecker() HealthChecker { return healthpkg.NewChecker() }