Developed a rest API

This commit is contained in:
Tim Beatham
2023-11-13 10:44:14 +00:00
parent 44f119b45c
commit 5f176e731f
9 changed files with 277 additions and 2 deletions

View File

@ -144,6 +144,7 @@ func (n *IpcHandler) GetMesh(meshId string, reply *ipc.GetMeshReply) error {
WgHost: node.GetWgHost().String(),
Timestamp: node.GetTimeStamp(),
Routes: node.GetRoutes(),
Description: node.GetDescription(),
}
nodes[i] = node