Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(OutboundQueueCircuitBreakerPoolProvider), )
Functions ¶
This section is empty.
Types ¶
type CircuitBreakerPool ¶
type CircuitBreakerPool[K comparable] struct { // contains filtered or unexported fields }
func NewCircuitBreakerPool ¶
func NewCircuitBreakerPool[K comparable]( constructor func(key K) circuitbreaker.TwoStepCircuitBreaker, ) *CircuitBreakerPool[K]
func (*CircuitBreakerPool[K]) Get ¶
func (p *CircuitBreakerPool[K]) Get(key K) circuitbreaker.TwoStepCircuitBreaker
type OutboundQueueCircuitBreakerPool ¶
type OutboundQueueCircuitBreakerPool struct { *CircuitBreakerPool[tasks.TaskGroupNamespaceIDAndDestination] }
func OutboundQueueCircuitBreakerPoolProvider ¶
func OutboundQueueCircuitBreakerPoolProvider( namespaceRegistry namespace.Registry, config *configs.Config, ) *OutboundQueueCircuitBreakerPool
Click to show internal directories.
Click to hide internal directories.