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

Method SetStatusCode

pkg/api/controller.go:169–171  ·  view source on GitHub ↗
(c int)

Source from the content-addressed store, hash-verified

167 }
168}
169func (ir *InvokeProxyResponse) SetStatusCode(c int) {
170 ir.StatusCode = c
171}
172
173func (ir *InvokeProxyResponse) SetHeader(k string, v string) {
174 hMap := ir.Headers

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected