实现远程升级节点

This commit is contained in:
刘祥超
2020-10-28 12:35:36 +08:00
parent 7eeb2825f1
commit 5810fd9144
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 {