(apiKey string)
| 190 | } |
| 191 | |
| 192 | func WithAPIKey(apiKey string) func(*CrowdsecCTIClient) { |
| 193 | return func(c *CrowdsecCTIClient) { |
| 194 | c.apiKey = apiKey |
| 195 | } |
| 196 | } |
| 197 | |
| 198 | func WithUserAgent(userAgent string) func(*CrowdsecCTIClient) { |
| 199 | return func(c *CrowdsecCTIClient) { |
no outgoing calls
searching dependent graphs…