Neo Workspace for local deployment

This commit is contained in:
mr
2024-10-15 10:56:39 +02:00
parent 64c1ee11f5
commit 64552a611e
7 changed files with 203 additions and 181 deletions

View File

@@ -15,11 +15,11 @@ type WorkspaceController struct {
var paths = map[tools.DataType]map[tools.METHOD]string{
tools.PEER: { // paths to call to status of peers
tools.POST: "/oc/peer",
tools.POST: "/status/",
},
tools.WORKSPACE: { // paths to call to delete/update workspace on peer destination
tools.PUT: "/oc/workspace/:id?is_remote=true",
tools.DELETE: "/oc/workspace/:id?is_remote=true",
tools.PUT: "/:id?is_remote=true",
tools.DELETE: "/:id?is_remote=true",
},
}