(client *http.Client, host string, detector fd.Detector)
| 55 | } |
| 56 | |
| 57 | func NewSearcher(client *http.Client, host string, detector fd.Detector) Searcher { |
| 58 | return &searcher{ |
| 59 | client: client, |
| 60 | host: host, |
| 61 | detector: detector, |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | func (s searcher) Code(query Query) (CodeResult, error) { |
| 66 | result := CodeResult{} |
no outgoing calls