MCPcopy Create free account
hub / github.com/couchbase/cbft / errorBody

Method errorBody

cmd/cbft/timeout_handler.go:58–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56}
57
58func (h *timeoutHandler) errorBody() string {
59 if h.body != "" {
60 return h.body
61 }
62 return "<html><head><title>Timeout</title></head><body><h1>Timeout</h1></body></html>"
63}
64
65func (h *timeoutHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
66 ctx := h.testContext

Callers 1

ServeHTTPMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected