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

Method Register

internal/pluginhost/test_helpers_test.go:214–220  ·  view source on GitHub ↗
([]byte)

Source from the content-addressed store, hash-verified

212}
213
214func (p *testPlugin) Register([]byte) pluginapi.Plugin {
215 p.registerCalls++
216 if p.panicOnRegister {
217 panic("register panic")
218 }
219 return p.registerResult
220}
221
222func (p *testPlugin) Reconfigure([]byte) pluginapi.Plugin {
223 p.reconfigureCalls++

Calls

no outgoing calls

Tested by

no test coverage detected