MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / validTestPlugin

Function validTestPlugin

internal/pluginhost/test_helpers_test.go:230–242  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

228}
229
230func validTestPlugin(name string) pluginapi.Plugin {
231 return pluginapi.Plugin{
232 Metadata: pluginapi.Metadata{
233 Name: name,
234 Version: "1.0.0",
235 Author: "test",
236 GitHubRepository: "https://github.com/router-for-me/CLIProxyAPI",
237 },
238 Capabilities: pluginapi.Capabilities{
239 UsagePlugin: testUsageCapability{},
240 },
241 }
242}
243
244type testUsageCapability struct{}
245

Calls

no outgoing calls

Tested by

no test coverage detected