(httpClient *http.Client)
| 184 | } |
| 185 | |
| 186 | func WithHTTPClient(httpClient *http.Client) func(*CrowdsecCTIClient) { |
| 187 | return func(c *CrowdsecCTIClient) { |
| 188 | c.httpClient = httpClient |
| 189 | } |
| 190 | } |
| 191 | |
| 192 | func WithAPIKey(apiKey string) func(*CrowdsecCTIClient) { |
| 193 | return func(c *CrowdsecCTIClient) { |
no outgoing calls
searching dependent graphs…