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

Function init

plugin/ash/ash.go:51–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49}
50
51func init() {
52 p := &AshPlugin{
53 BaseAsyncPlugin: plugin.NewBaseAsyncPlugin("ash", 2), // 优先级2,质量良好的影视资源
54 }
55 plugin.RegisterGlobalPlugin(p)
56}
57
58// Search 执行搜索并返回结果
59func (p *AshPlugin) Search(keyword string, ext map[string]interface{}) ([]model.SearchResult, error) {

Callers

nothing calls this directly

Calls 2

NewBaseAsyncPluginFunction · 0.92
RegisterGlobalPluginFunction · 0.92

Tested by

no test coverage detected