MCPcopy Create free account
hub / github.com/baidu/EasyFaaS / SetBody

Method SetBody

pkg/api/controller.go:75–77  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

73}
74
75func (iresp *InvokeResponse) SetBody(b []byte) {
76 iresp.bodyRaw = b
77}
78
79func (iresp *InvokeResponse) SetBodyStream(bs io.ReadCloser) {
80 iresp.bodyStream = bs

Callers 9

InvokeHandlerMethod · 0.45
ListRuntimesHandlerMethod · 0.45
GetResourceHandlerMethod · 0.45
buildErrorResponseFunction · 0.45
buildResponseMethod · 0.45
buildTotallyToBodyFunction · 0.45
buildFunction · 0.45
InvokeMethod · 0.45
InvokeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected