spaxel/mothership/cmd/_parse_check.go
jedarden 01547269cc feat: verify dashboard WebSocket feed supports events, alerts, BLE, triggers, health
All 5 new message types (event, alert, ble_scan, trigger_state,
system_health) were already implemented in hub.go with broadcast methods,
called from main.go/ingestion/volume_triggers/events, and handled in
app.js. Also includes security mode persistence from anomaly DB and
OpenAPI docs for triggers endpoints.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 09:54:14 -04:00

20 lines
324 B
Go

//go:build ignore
package main
import (
"fmt"
"go/parser"
"go/token"
"os"
)
func main() {
fset := token.NewFileSet()
_, err := parser.ParseFile(fset, "cmd/mothership/main.go", nil, parser.AllErrors|parser.ParseComments)
if err != nil {
fmt.Println("Parse error:", err)
os.Exit(1)
}
fmt.Println("Parse OK")
}