Documentation
¶
Overview ¶
Package inspector provides the read-only HTTP inspector UI for LoopKit.
It embeds static assets (HTML + JS) and serves a JSON API whose schemas are identical to loopctl --json output (backed by quality/diff and quality/eval).
API endpoints:
GET /api/loops — list all loops (LoopMeta JSON array)
GET /api/loops/{id}/events — event log for a loop (JSON array)
GET /api/diff?a=<id>&b=<id> — trajectory diff (diff.Report JSON)
The server is read-only: there are no mutating routes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler(store runtime.EventStore) http.Handler
NewHandler returns the HTTP handler for the inspector (for testing without binding a port).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.