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

Function NewForTest

internal/pluginhost/host.go:107–111  ·  view source on GitHub ↗
(loader pluginLoader)

Source from the content-addressed store, hash-verified

105}
106
107func NewForTest(loader pluginLoader) *Host {
108 h := New()
109 h.loader = loader
110 return h
111}
112
113func (h *Host) SetModelExecutor(executor modelExecutor) {
114 if h == nil {

Calls 1

NewFunction · 0.70