Initial commit: PilotVault multi-service project
Add API Server (Go/PocketBase), Web App (Go BFF + Vue), Fly App (Flutter/DJI MSDK), Adobe Plugin, and Docker/Docker AIO deployment configs. Design assets and build artifacts are gitignored. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
commit
afc6952eda
172 files changed
+24591
No files matched your search
@@ -0,0 +1,13 @@
|
||||
package api
|
||||
|
||||
import "net/http"
|
||||
|
||||
// GET /ws/device?id=<deviceId> — the Fly App connects here to stream telemetry.
|
||||
func (s *Server) handleDeviceWS(w http.ResponseWriter, r *http.Request) {
|
||||
s.hub.ServeDevice(w, r, r.URL.Query().Get("id"))
|
||||
}
|
||||
|
||||
// GET /ws/ui — the web dashboard / panel connects here for the live stream.
|
||||
func (s *Server) handleUIWS(w http.ResponseWriter, r *http.Request) {
|
||||
s.hub.ServeUI(w, r)
|
||||
}
|
||||
Reference in new issue
Block a user