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

Method GetConfig

internal/tui/client.go:124–126  ·  view source on GitHub ↗

GetConfig fetches the parsed config.

()

Source from the content-addressed store, hash-verified

122
123// GetConfig fetches the parsed config.
124func (c *Client) GetConfig() (map[string]any, error) {
125 return c.getJSON("/v0/management/config")
126}
127
128// GetConfigYAML fetches the raw config.yaml content.
129func (c *Client) GetConfigYAML() (string, error) {

Callers 4

mainFunction · 0.95
fetchDataMethod · 0.45
connectWithPasswordMethod · 0.45
fetchConfigMethod · 0.45

Calls 1

getJSONMethod · 0.95

Tested by

no test coverage detected