MCPcopy
hub / github.com/livebud/bud / Status

Method Status

internal/testcli/testcli.go:470–472  ·  view source on GitHub ↗

Status returns the response status

()

Source from the content-addressed store, hash-verified

468
469// Status returns the response status
470func (r *Response) Status() int {
471 return r.res.StatusCode
472}
473
474func (r *Response) Headers() *bytes.Buffer {
475 return bytes.NewBuffer(r.headers)

Callers 12

TestPublicFunction · 0.80
TestPluginFunction · 0.80
TestGetChangeGetFunction · 0.80
TestEmbedFaviconFunction · 0.80
TestCustomWebGeneratorFunction · 0.80
TestProtocolFunction · 0.80
TestWelcomeFunction · 0.80
TestNewControllerAllFunction · 0.80
TestNewControllerAllRootFunction · 0.80
TestCreateSeesWelcomeFunction · 0.80

Calls

no outgoing calls

Tested by 12

TestPublicFunction · 0.64
TestPluginFunction · 0.64
TestGetChangeGetFunction · 0.64
TestEmbedFaviconFunction · 0.64
TestCustomWebGeneratorFunction · 0.64
TestProtocolFunction · 0.64
TestWelcomeFunction · 0.64
TestNewControllerAllFunction · 0.64
TestNewControllerAllRootFunction · 0.64
TestCreateSeesWelcomeFunction · 0.64