mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-30 01:46:37 +08:00
实现节点自动切换到备用IP
This commit is contained in:
@@ -11,6 +11,7 @@ type NodeIPAddressLog struct {
|
||||
IsOn uint8 `field:"isOn"` // 是否启用
|
||||
CanAccess uint8 `field:"canAccess"` // 是否可访问
|
||||
Day string `field:"day"` // YYYYMMDD,用来清理
|
||||
BackupIP string `field:"backupIP"` // 备用IP
|
||||
}
|
||||
|
||||
type NodeIPAddressLogOperator struct {
|
||||
@@ -23,6 +24,7 @@ type NodeIPAddressLogOperator struct {
|
||||
IsOn interface{} // 是否启用
|
||||
CanAccess interface{} // 是否可访问
|
||||
Day interface{} // YYYYMMDD,用来清理
|
||||
BackupIP interface{} // 备用IP
|
||||
}
|
||||
|
||||
func NewNodeIPAddressLogOperator() *NodeIPAddressLogOperator {
|
||||
|
||||
Reference in New Issue
Block a user