()
| 338 | } |
| 339 | |
| 340 | func newForwardProxy() *forwardProxy { |
| 341 | return &forwardProxy{ |
| 342 | hc: &http.Client{}, |
| 343 | } |
| 344 | } |
| 345 | |
| 346 | func (fc *forwardProxy) ServeHTTP(w http.ResponseWriter, r *http.Request) { |
| 347 | ctx, cancel := context.WithTimeout(r.Context(), time.Second*10) |
no outgoing calls
no test coverage detected
searching dependent graphs…