Backend: API handlers, WebSocket manager, K8s client, CRDT, auth

This commit is contained in:
Hermes Agent
2026-06-16 08:53:24 -04:00
parent 33c6648b84
commit 27779ba26f
15 changed files with 427 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package handlers
import (
"encoding/json"
"net/http"
)
func NamespacesHandler(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "application/json")
namespaces := []string{"default", "kube-system", "kube-public"}
json.NewEncoder(w).Encode(namespaces)
}