MCPcopy
hub / github.com/fish2018/pansou / AsyncSearch

Method AsyncSearch

plugin/plugin.go:29–29  ·  view source on GitHub ↗

AsyncSearch 异步搜索方法

(keyword string, searchFunc func(*http.Client, string, map[string]interface{}) ([]model.SearchResult, error), mainCacheKey string, ext map[string]interface{})

Source from the content-addressed store, hash-verified

27
28 // AsyncSearch 异步搜索方法
29 AsyncSearch(keyword string, searchFunc func(*http.Client, string, map[string]interface{}) ([]model.SearchResult, error), mainCacheKey string, ext map[string]interface{}) ([]model.SearchResult, error)
30
31 // SetMainCacheKey 设置主缓存键
32 SetMainCacheKey(key string)

Callers 1

searchPluginsMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected