mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-01-01 08:16:41 +08:00
节点IP可以设置阈值
This commit is contained in:
13
pkg/nodeconfigs/node_ip_addr.go
Normal file
13
pkg/nodeconfigs/node_ip_addr.go
Normal file
@@ -0,0 +1,13 @@
|
||||
// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
|
||||
|
||||
package nodeconfigs
|
||||
|
||||
type NodeIPAddr struct {
|
||||
Id int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Thresholds []*NodeValueThresholdConfig `json:"thresholds"`
|
||||
IP string `json:"ip"`
|
||||
IsOn bool `json:"isOn"`
|
||||
IsUp bool `json:"isUp"`
|
||||
CanAccess bool `json:"canAccess"`
|
||||
}
|
||||
Reference in New Issue
Block a user