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

Function init

plugin/fox4k/fox4k.go:220–225  ·  view source on GitHub ↗

初始化插件

()

Source from the content-addressed store, hash-verified

218
219// 初始化插件
220func init() {
221 plugin.RegisterGlobalPlugin(NewFox4kPlugin())
222
223 // 启动缓存清理
224 go startCacheCleaner()
225}
226
227// startCacheCleaner 定期清理缓存
228func startCacheCleaner() {

Callers

nothing calls this directly

Calls 3

RegisterGlobalPluginFunction · 0.92
NewFox4kPluginFunction · 0.85
startCacheCleanerFunction · 0.70

Tested by

no test coverage detected