real init

This commit is contained in:
2026-07-29 01:36:09 +01:00
parent bb8c94f06e
commit 0accff3e19
55 changed files with 3806 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
package actions
import "net/http"
func RunAction(w http.ResponseWriter, r *http.Request) {
// Stub, to implement, receives an action via frontend code and redirects it to the correct container, which will execute it and return the result to the frontend
// Request comes in format {"container_id": string, "action": { "method": "GET" | "POST" | "PUT" | "DELETE", "action_name": string }, "payload": object}
http.Error(w, "Action not implemented", http.StatusNotImplemented)
}