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

Method WithPluginHost

sdk/cliproxy/builder.go:152–155  ·  view source on GitHub ↗

WithPluginHost overrides the dynamic plugin host used by the service.

(host *pluginhost.Host)

Source from the content-addressed store, hash-verified

150
151// WithPluginHost overrides the dynamic plugin host used by the service.
152func (b *Builder) WithPluginHost(host *pluginhost.Host) *Builder {
153 b.pluginHost = host
154 return b
155}
156
157// WithServerOptions appends server configuration options used during construction.
158func (b *Builder) WithServerOptions(opts ...api.ServerOption) *Builder {

Calls

no outgoing calls