(disableSSLVerification bool)
| 21 | } |
| 22 | |
| 23 | func CreateHttpClient(disableSSLVerification bool) HttpClient { |
| 24 | return HttpClient{ |
| 25 | netHttpClient: GetNetHttpClient(disableSSLVerification), |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | func GetNetHttpClient(disableSSLVerification bool) *http.Client { |
| 30 | if disableSSLVerification { |
no test coverage detected