MCPcopy Index your code
hub / github.com/perkeep/perkeep / serveStatusJSON

Method serveStatusJSON

pkg/server/status.go:213–215  ·  view source on GitHub ↗
(rw http.ResponseWriter, req *http.Request)

Source from the content-addressed store, hash-verified

211}
212
213func (sh *StatusHandler) serveStatusJSON(rw http.ResponseWriter, req *http.Request) {
214 httputil.ReturnJSON(rw, sh.currentStatus())
215}
216
217func (sh *StatusHandler) googleCloudConsole() (string, error) {
218 if !env.OnGCE() {

Callers 1

ServeHTTPMethod · 0.95

Calls 2

currentStatusMethod · 0.95
ReturnJSONFunction · 0.92

Tested by

no test coverage detected