MCPcopy Create free account
hub / github.com/cloudwan/gohan / logResponse

Method logResponse

cli/client/client.go:305–309  ·  view source on GitHub ↗
(status string, body interface{})

Source from the content-addressed store, hash-verified

303}
304
305func (gohanClientCLI *GohanClientCLI) logResponse(status string, body interface{}) {
306 log.Notice("Received response: %s", status)
307 jsonBody, _ := json.MarshalIndent(body, "", " ")
308 log.Info("Response body:\n %s", jsonBody)
309}

Callers 1

handleResponseMethod · 0.95

Calls 2

NoticeMethod · 0.65
InfoMethod · 0.65

Tested by

no test coverage detected