Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google/go-cloud
/ benchHandler
Function
benchHandler
server/requestlog/stackdriver_test.go:214–218 ·
view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)
Source
from the content-addressed store, hash-verified
212
}
213
214
func
benchHandler(w http.ResponseWriter, r *http.Request) {
215
const
msg =
"Hello, World!"
216
w.Header().Set(
"Content-Length"
, fmt.Sprint(len(msg)))
217
_, _ = io.WriteString(w, msg)
218
}
Callers
nothing calls this directly
Calls
2
Set
Method · 0.45
Header
Method · 0.45
Tested by
no test coverage detected