mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2026-01-02 03:56:34 +08:00
实现健康检查配置、立即执行健康检查
This commit is contained in:
11
internal/tasks/health_check_result.go
Normal file
11
internal/tasks/health_check_result.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package tasks
|
||||
|
||||
import "github.com/TeaOSLab/EdgeAPI/internal/db/models"
|
||||
|
||||
type HealthCheckResult struct {
|
||||
Node *models.Node
|
||||
NodeAddr string
|
||||
IsOk bool
|
||||
Error string
|
||||
CostMs float64
|
||||
}
|
||||
Reference in New Issue
Block a user