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

Method WithConfigPath

sdk/cliproxy/builder.go:104–107  ·  view source on GitHub ↗

WithConfigPath sets the absolute configuration file path used for reload watching. Parameters: - path: The absolute path to the configuration file Returns: - *Builder: The builder instance for method chaining

(path string)

Source from the content-addressed store, hash-verified

102// Returns:
103// - *Builder: The builder instance for method chaining
104func (b *Builder) WithConfigPath(path string) *Builder {
105 b.configPath = path
106 return b
107}
108
109// WithTokenClientProvider overrides the provider responsible for token-backed clients.
110func (b *Builder) WithTokenClientProvider(provider TokenClientProvider) *Builder {

Callers 4

mainFunction · 0.80

Calls

no outgoing calls