Backend: API handlers, WebSocket manager, K8s client, CRDT, auth
This commit is contained in:
12
server/internal/ws/watch.go
Normal file
12
server/internal/ws/watch.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package ws
|
||||
|
||||
import (
|
||||
"github.com/gorilla/websocket"
|
||||
)
|
||||
|
||||
func WatchHandler(conn *websocket.Conn, r *http.Request) error {
|
||||
// TODO: Implement resource watch streaming
|
||||
// This will watch K8s resources and broadcast changes to clients
|
||||
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user