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

Function NewInvokeResponse

pkg/api/controller.go:53–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51}
52
53func NewInvokeResponse() *InvokeResponse {
54 h := make(map[string]string, 0)
55 b := make([]byte, 0)
56 return &InvokeResponse{
57 headers: h,
58 bodyRaw: b,
59 }
60}
61
62func (iresp *InvokeResponse) Body() []byte {
63 return iresp.bodyRaw

Callers 2

InvokeMethod · 0.92
InvokeMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected