Incorporated automerge

This commit is contained in:
Tim Beatham
2023-10-06 11:52:51 +01:00
parent 81e2d16316
commit 47e260e310
10 changed files with 290 additions and 222 deletions

View File

@@ -64,8 +64,8 @@ func getMesh(client *ipcRpc.Client, meshId string) {
for _, node := range reply.Nodes {
fmt.Println("Public Key: " + node.PublicKey)
fmt.Println("WireGuard Endpoint: " + node.HostEndpoint)
fmt.Println("Control Endpoint: " + node.WgEndpoint)
fmt.Println("WireGuard Endpoint: " + node.WgEndpoint)
fmt.Println("Control Endpoint: " + node.HostEndpoint)
fmt.Println("Wg IP: " + node.WgHost)
fmt.Println("---")
}
@@ -77,7 +77,7 @@ func enableInterface(client *ipcRpc.Client, meshId string) {
err := client.Call("RobinIpc.EnableInterface", &meshId, &reply)
if err != nil {
(err.Error())
fmt.Println(err.Error())
return
}