Add basic node handling

This commit is contained in:
Ingo Oppermann
2022-08-03 22:05:28 +02:00
parent 11c3fce812
commit fe889aa4e2
35 changed files with 3988 additions and 22 deletions

14
http/api/cluster.go Normal file
View File

@@ -0,0 +1,14 @@
package api
type ClusterNodeConfig struct {
Address string `json:"address"`
Username string `json:"username"`
Password string `json:"password"`
}
type ClusterNode struct {
Address string `json:"address"`
State string `json:"state"`
}
type ClusterNodeFiles []string