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

Method SetCooldownStateStore

sdk/cliproxy/auth/conductor.go:485–492  ·  view source on GitHub ↗

SetCooldownStateStore swaps the independent runtime cooldown state store.

(store CooldownStateStore)

Source from the content-addressed store, hash-verified

483
484// SetCooldownStateStore swaps the independent runtime cooldown state store.
485func (m *Manager) SetCooldownStateStore(store CooldownStateStore) {
486 if m == nil {
487 return
488 }
489 m.mu.Lock()
490 defer m.mu.Unlock()
491 m.cooldownStore = store
492}
493
494// SetRoundTripperProvider register a provider that returns a per-auth RoundTripper.
495func (m *Manager) SetRoundTripperProvider(p RoundTripperProvider) {

Calls

no outgoing calls