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

Function WithLocalManagementPassword

sdk/api/options.go:34–36  ·  view source on GitHub ↗

WithLocalManagementPassword stores a runtime-only management password accepted for localhost requests.

(password string)

Source from the content-addressed store, hash-verified

32
33// WithLocalManagementPassword stores a runtime-only management password accepted for localhost requests.
34func WithLocalManagementPassword(password string) ServerOption {
35 return internalapi.WithLocalManagementPassword(password)
36}
37
38// WithKeepAliveEndpoint enables a keep-alive endpoint with the provided timeout and callback.
39func WithKeepAliveEndpoint(timeout time.Duration, onTimeout func()) ServerOption {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected