SearchWithResult 带结果统计的搜索接口
(keyword string, ext map[string]interface{})
| 166 | |
| 167 | // SearchWithResult 带结果统计的搜索接口 |
| 168 | func (p *HubanAsyncPlugin) SearchWithResult(keyword string, ext map[string]interface{}) (model.PluginSearchResult, error) { |
| 169 | return p.AsyncSearchWithResult(keyword, p.searchImpl, p.MainCacheKey, ext) |
| 170 | } |
| 171 | |
| 172 | // searchImpl 搜索实现 - HTML解析版本 |
| 173 | func (p *HubanAsyncPlugin) searchImpl(client *http.Client, keyword string, ext map[string]interface{}) ([]model.SearchResult, error) { |
no test coverage detected