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

Method setStatus

rest/handler.go:1503–1506  ·  view source on GitHub ↗
(status int, message string)

Source from the content-addressed store, hash-verified

1501}
1502
1503func (h *handler) setStatus(status int, message string) {
1504 h.status = status
1505 h.statusMessage = message
1506}
1507
1508func (h *handler) disableResponseCompression() {
1509 switch r := h.response.(type) {

Callers 7

logStatusWithDurationMethod · 0.95
logStatusMethod · 0.95
writeStatusMethod · 0.95
handleRangeMethod · 0.95
mutateDbConfigMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected