MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / handlePing

Method handlePing

rest/api.go:78–81  ·  view source on GitHub ↗

HTTP handler for a simple ping healthcheck

()

Source from the content-addressed store, hash-verified

76
77// HTTP handler for a simple ping healthcheck
78func (h *handler) handlePing() error {
79 h.writeTextStatus(http.StatusOK, []byte("OK"))
80 return nil
81}
82
83func (h *handler) handleAllDbs() error {
84 verbose := h.getBoolQuery("verbose")

Callers

nothing calls this directly

Calls 1

writeTextStatusMethod · 0.95

Tested by

no test coverage detected