实现远程升级节点

This commit is contained in:
GoEdgeLab
2020-10-28 12:35:36 +08:00
parent c13b8b99c5
commit 9c6a8c64a1
8 changed files with 286 additions and 20 deletions

View File

@@ -6,9 +6,10 @@ import (
)
type NodeParams struct {
Endpoints []string
NodeId string
Secret string
Endpoints []string
NodeId string
Secret string
IsUpgrading bool // 是否为升级
}
func (this *NodeParams) Validate() error {