mirror of
https://github.com/datarhei/core.git
synced 2025-10-16 04:50:44 +08:00
Add basic node handling
This commit is contained in:
14
http/api/cluster.go
Normal file
14
http/api/cluster.go
Normal 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
|
Reference in New Issue
Block a user