MCPcopy Index your code
hub / github.com/ZenNotes/zennotes / healthz

Method healthz

apps/server/internal/httpserver/server.go:284–286  ·  view source on GitHub ↗

--- Handlers: meta ---

(w http.ResponseWriter, _ *http.Request)

Source from the content-addressed store, hash-verified

282// --- Handlers: meta ---
283
284func (s *Server) healthz(w http.ResponseWriter, _ *http.Request) {
285 writeJSON(w, http.StatusOK, map[string]any{"ok": true})
286}
287
288func (s *Server) version(w http.ResponseWriter, _ *http.Request) {
289 writeJSON(w, http.StatusOK, map[string]any{

Callers

nothing calls this directly

Calls 1

writeJSONFunction · 0.85

Tested by

no test coverage detected