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

Method getWrappedKeyList

internal/tui/client.go:314–320  ·  view source on GitHub ↗

getWrappedKeyList fetches a wrapped list from the API.

(path, key string)

Source from the content-addressed store, hash-verified

312
313// getWrappedKeyList fetches a wrapped list from the API.
314func (c *Client) getWrappedKeyList(path, key string) ([]map[string]any, error) {
315 wrapper, err := c.getJSON(path)
316 if err != nil {
317 return nil, err
318 }
319 return extractList(wrapper, key)
320}
321
322// extractList pulls an array of maps from a wrapper object by key.
323func extractList(wrapper map[string]any, key string) ([]map[string]any, error) {

Callers 5

GetGeminiKeysMethod · 0.95
GetClaudeKeysMethod · 0.95
GetCodexKeysMethod · 0.95
GetVertexKeysMethod · 0.95
GetOpenAICompatMethod · 0.95

Calls 2

getJSONMethod · 0.95
extractListFunction · 0.85

Tested by

no test coverage detected