(req *http.Request)
| 738 | } |
| 739 | |
| 740 | func proxyFromContext(req *http.Request) (*url.URL, error) { |
| 741 | proxyURL, _ := req.Context().Value(proxyUrlContextKey{}).(*url.URL) |
| 742 | if proxyURL != nil { |
| 743 | return proxyURL, nil |
| 744 | } |
| 745 | return nil, nil |
| 746 | } |
| 747 | |
| 748 | type skipperDialer struct { |
| 749 | net.Dialer |
searching dependent graphs…