package entity //Node 节点信息 type Node struct { NodeID int `json:"nodeID"` NodeName string `json:"nodeName"` NodeKey string `json:"nodeKey"` ListenAddress string `json:"listenAddress"` AdminAddress string `json:"adminAddress"` Cluster string `json:"cluster,omitempty"` ClusterTitle string `json:"cluster_title,omitempty"` Version string `json:"version"` NodeStatus int `json:"nodeStatus"` GroupID int `json:"groupID,omitempty"` GroupName string `json:"groupName,omitempty"` IsUpdate bool `json:"isUpdate"` GatewayPath string `json:"gatewayPath"` CreateTime string `json:"createTime"` UpdateTime string `json:"updateTime"` UpdatePeriod int `json:"updatePeriod,omitempty"` //*SSHInfo } //type SSHInfo struct { // SSHPort string `json:"sshPort"` // UserName string `json:"userName"` // Password string `json:"password"` // // Key string `json:"key"` // AuthMethod int `json:"authMethod"` //}