(r *http.Request)
| 195 | } |
| 196 | |
| 197 | func getHost(r *http.Request) string { |
| 198 | if r.Host != "" { |
| 199 | return r.Host |
| 200 | } |
| 201 | return r.URL.Host |
| 202 | } |
| 203 | |
| 204 | type telemetryDisablerTransport struct { |
| 205 | wrappedTransport http.RoundTripper |
no outgoing calls
no test coverage detected