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

Function schedulerOptions

sdk/cliproxy/auth/conductor.go:1526–1531  ·  view source on GitHub ↗
(opts cliproxyexecutor.Options)

Source from the content-addressed store, hash-verified

1524}
1525
1526func schedulerOptions(opts cliproxyexecutor.Options) pluginapi.SchedulerOptions {
1527 return pluginapi.SchedulerOptions{
1528 Headers: cloneHTTPHeader(opts.Headers),
1529 Metadata: cloneSchedulerAnyMap(opts.Metadata),
1530 }
1531}
1532
1533func pickSchedulerAuthByID(candidates []*Auth, authID string) *Auth {
1534 authID = strings.TrimSpace(authID)

Callers 1

Calls 2

cloneSchedulerAnyMapFunction · 0.85
cloneHTTPHeaderFunction · 0.70

Tested by

no test coverage detected