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

Method GetHeader

pkg/api/controller.go:87–90  ·  view source on GitHub ↗
(k string)

Source from the content-addressed store, hash-verified

85}
86
87func (iresp *InvokeResponse) GetHeader(k string) (v string, ok bool) {
88 v, ok = iresp.headers[k]
89 return
90}
91
92func (iresp *InvokeResponse) SetHeaders(hMap *map[string]string) {
93 iresp.headers = *hMap

Callers 1

makeResponseFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected