MCPcopy Create free account
hub / github.com/golang/appengine / WithContext

Function WithContext

internal/api.go:297–302  ·  view source on GitHub ↗
(parent context.Context, req *http.Request)

Source from the content-addressed store, hash-verified

295}
296
297func WithContext(parent context.Context, req *http.Request) context.Context {
298 return jointContext{
299 base: parent,
300 valuesOnly: req.Context(),
301 }
302}
303
304// RegisterTestRequest registers the HTTP request req for testing, such that
305// any API calls are sent to the provided URL.

Callers 3

WithContextFunction · 0.92
TestDelayedLogFlushingFunction · 0.70
TestLogFlushingFunction · 0.70

Calls

no outgoing calls

Tested by 2

TestDelayedLogFlushingFunction · 0.56
TestLogFlushingFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…