Initial commit (code only without large binaries)
This commit is contained in:
13
EdgeAPI/internal/tasks/health_check_result.go
Normal file
13
EdgeAPI/internal/tasks/health_check_result.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package tasks
|
||||
|
||||
import "github.com/TeaOSLab/EdgeAPI/internal/db/models"
|
||||
|
||||
// HealthCheckResult 健康检查结果
|
||||
type HealthCheckResult struct {
|
||||
Node *models.Node
|
||||
NodeAddr string // 节点IP地址
|
||||
NodeAddrId int64 // 节点IP地址ID
|
||||
IsOk bool
|
||||
Error string
|
||||
CostMs float64
|
||||
}
|
||||
Reference in New Issue
Block a user