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

Struct RoundRobinSelector

sdk/cliproxy/auth/selector.go:26–30  ·  view source on GitHub ↗

RoundRobinSelector provides a simple provider scoped round-robin selection strategy.

Source from the content-addressed store, hash-verified

24
25// RoundRobinSelector provides a simple provider scoped round-robin selection strategy.
26type RoundRobinSelector struct {
27 mu sync.Mutex
28 cursors map[string]int
29 maxKeys int
30}
31
32// FillFirstSelector selects the first available credential (deterministic ordering).
33// This "burns" one account before moving to the next, which can help stagger

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected