zhangzengfei
2023-10-20 71b8885babe6dfd25c91b007018347c0c1bfac74
system-service/vo/cluster.go
@@ -1,24 +1,30 @@
package vo
import "vamicro/system-service/models"
type ClusterVo struct {
   ClusterInfo models.Cluster `json:"clusterInfo"`
   Nodes []models.Node `json:"nodes"`
   Nodes       []models.Node  `json:"nodes"`
}
type ClusterCreateVo struct {
   Password string `json:"password"`
   Password    string `json:"password"`
   ClusterName string `json:"clusterName"`
   ClusterId string `json:"clusterId"`
   VirtualIp string `json:"virtualIp"`
   ClusterId   string `json:"clusterId"`
   VirtualIp   string `json:"virtualIp"`
}
type ClusterSearchVo struct {
   Password string `json:"password"`
}
type ClusterJoinVo struct {
type UpdateClusterVo struct {
   ClusterId string `json:"clusterId"`
   Password string `json:"password"`
   NodeIps []string `json:"nodeIps"`
   NodeId    string `json:"nodeId"`
}
type ClusterJoinVo struct {
   ClusterId string   `json:"clusterId"`
   Password  string   `json:"password"`
   NodeIps   []string `json:"nodeIps"`
}