(conn net.Conn)
| 94 | } |
| 95 | |
| 96 | func convertToHTTPClient(conn net.Conn) *http.Client { |
| 97 | return &http.Client{ |
| 98 | Transport: &http.Transport{ |
| 99 | DialContext: func(_ context.Context, _, _ string) (net.Conn, error) { |
| 100 | return conn, nil |
| 101 | }, |
| 102 | }, |
| 103 | Timeout: 0, |
| 104 | } |
| 105 | } |
no outgoing calls
no test coverage detected