MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / handleHealth

Method handleHealth

internal/agent/api.go:1288–1291  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

1286}
1287
1288func (a *API) handleHealth(w http.ResponseWriter, r *http.Request) {
1289 w.Header().Set("Content-Type", "application/json")
1290 writeJSON(w, map[string]string{"status": "ok"})
1291}
1292
1293func (a *API) handleFeedback(w http.ResponseWriter, r *http.Request) {
1294 ip := clientIP(r)

Callers

nothing calls this directly

Calls 1

writeJSONFunction · 0.70

Tested by

no test coverage detected