(httpClient *http.Client, host string)
| 188 | } |
| 189 | |
| 190 | func NewDetector(httpClient *http.Client, host string) Detector { |
| 191 | return &detector{ |
| 192 | httpClient: httpClient, |
| 193 | host: host, |
| 194 | } |
| 195 | } |
| 196 | |
| 197 | func (d *detector) IssueFeatures() (IssueFeatures, error) { |
| 198 | if !ghauth.IsEnterprise(d.host) { |
no outgoing calls