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"`