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

Method Load

sdk/cliproxy/types.go:28–28  ·  view source on GitHub ↗

Load loads token-based clients from the configured source. Parameters: - ctx: The context for the loading operation - cfg: The application configuration Returns: - *TokenClientResult: The result containing loaded clients - error: An error if loading fails

(ctx context.Context, cfg *config.Config)

Source from the content-addressed store, hash-verified

26 // - *TokenClientResult: The result containing loaded clients
27 // - error: An error if loading fails
28 Load(ctx context.Context, cfg *config.Config) (*TokenClientResult, error)
29}
30
31// TokenClientResult represents clients generated from persisted tokens.

Callers 15

getOrCreateGroupCacheFunction · 0.65
SignatureCacheEnabledFunction · 0.65
SnapshotMethod · 0.65
cliproxyHostCallFunction · 0.65
windowsHostCallFunction · 0.65
GlobalFunction · 0.65
moduleContextMethod · 0.65

Implementers 5

fileTokenClientProvidersdk/cliproxy/providers.go
apiKeyClientProvidersdk/cliproxy/providers.go
Managersdk/cliproxy/auth/conductor.go
recordingCooldownStateStoresdk/cliproxy/auth/cooldown_state_test.
FileCooldownStateStoresdk/cliproxy/auth/cooldown_state.go

Calls

no outgoing calls