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

Method Body

internal/testcli/testcli.go:478–480  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

476}
477
478func (r *Response) Body() *bytes.Buffer {
479 return bytes.NewBuffer(r.body)
480}
481
482// Diff the response the expected HTTP response
483func (r *Response) Dump() *bytes.Buffer {

Callers 15

QueryMethod · 0.95
TestPublicFunction · 0.80
TestPluginFunction · 0.80
TestGetChangeGetFunction · 0.80
TestEmbedFaviconFunction · 0.80
TestCustomWebGeneratorFunction · 0.80
TestIndexStringFunction · 0.80
TestCreateRedirectFunction · 0.80
TestDependencyRequestFunction · 0.80
TestEmptyActionWithViewFunction · 0.80
TestCustomActionsFunction · 0.80
TestHandlerFuncsFunction · 0.80

Calls

no outgoing calls

Tested by 15

TestPublicFunction · 0.64
TestPluginFunction · 0.64
TestGetChangeGetFunction · 0.64
TestEmbedFaviconFunction · 0.64
TestCustomWebGeneratorFunction · 0.64
TestIndexStringFunction · 0.64
TestCreateRedirectFunction · 0.64
TestDependencyRequestFunction · 0.64
TestEmptyActionWithViewFunction · 0.64
TestCustomActionsFunction · 0.64
TestHandlerFuncsFunction · 0.64