Documentation
¶
Overview ¶
Package api implements the AgentGraph REST API and web dashboard (PRD sections 60 and 29).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DashboardHandler ¶
DashboardHandler serves the embedded web dashboard.
Types ¶
type AlertHub ¶ added in v0.5.0
type AlertHub struct {
// contains filtered or unexported fields
}
AlertHub fans out runtime-detection alerts to SSE subscribers and keeps a bounded history for late joiners.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server serves the REST API and the embedded dashboard.
func NewServerWithAlerts ¶ added in v0.5.0
NewServerWithAlerts builds the server with a runtime-detection alert hub (enables the /api/v1/alerts endpoints).