zhangzengfei
2023-10-20 71b8885babe6dfd25c91b007018347c0c1bfac74
system-service/vo/cluster.go
@@ -1,6 +1,7 @@
package vo
import "vamicro/system-service/models"
type ClusterVo struct {
   ClusterInfo models.Cluster `json:"clusterInfo"`
   Nodes []models.Node `json:"nodes"`
@@ -17,6 +18,11 @@
   Password string `json:"password"`
}
type UpdateClusterVo struct {
   ClusterId string `json:"clusterId"`
   NodeId    string `json:"nodeId"`
}
type ClusterJoinVo struct {
   ClusterId string `json:"clusterId"`
   Password string `json:"password"`