SearchWithResult 执行搜索并返回包含IsFinal标记的结果
(keyword string, ext map[string]interface{})
| 66 | |
| 67 | // SearchWithResult 执行搜索并返回包含IsFinal标记的结果 |
| 68 | func (p *AshPlugin) SearchWithResult(keyword string, ext map[string]interface{}) (model.PluginSearchResult, error) { |
| 69 | return p.AsyncSearchWithResult(keyword, p.searchImpl, p.MainCacheKey, ext) |
| 70 | } |
| 71 | |
| 72 | // searchImpl 实际的搜索实现(优化版本) |
| 73 | func (p *AshPlugin) searchImpl(client *http.Client, keyword string, ext map[string]interface{}) ([]model.SearchResult, error) { |
no test coverage detected