Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baidu/EasyFaaS
/ SetHeaders
Method
SetHeaders
pkg/api/controller.go:92–94 ·
view source on GitHub ↗
(hMap *map[string]string)
Source
from the content-addressed store, hash-verified
90
}
91
92
func
(iresp *InvokeResponse) SetHeaders(hMap *
map
[string]string) {
93
iresp.headers = *hMap
94
}
95
96
func
(iresp *InvokeResponse) SetHeader(k, v string) {
97
iresp.headers[k] = v
Callers
1
Invoke
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected