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

Method WithServerOptions

sdk/cliproxy/builder.go:158–161  ·  view source on GitHub ↗

WithServerOptions appends server configuration options used during construction.

(opts ...api.ServerOption)

Source from the content-addressed store, hash-verified

156
157// WithServerOptions appends server configuration options used during construction.
158func (b *Builder) WithServerOptions(opts ...api.ServerOption) *Builder {
159 b.serverOptions = append(b.serverOptions, opts...)
160 return b
161}
162
163// WithLocalManagementPassword configures a password that is only accepted from localhost management requests.
164func (b *Builder) WithLocalManagementPassword(password string) *Builder {

Callers 2

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected