(parent context.Context, req *http.Request)
| 295 | } |
| 296 | |
| 297 | func 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. |
no outgoing calls
searching dependent graphs…