Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
87
func
(iresp *InvokeResponse) GetHeader(k string) (v string, ok bool) {
88
v, ok = iresp.headers[k]
89
return
90
}
91
92
func
(iresp *InvokeResponse) SetHeaders(hMap *
map
[string]string) {
93
iresp.headers = *hMap
Callers
1
makeResponse
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected