MCPcopy
hub / github.com/redis/go-redis / RegisterPubSubPool

Method RegisterPubSubPool

internal/otel/metrics.go:116–116  ·  view source on GitHub ↗

RegisterPubSubPool is called when a new client is created with a PubSub pool. poolName: identifier for the pool (e.g., "main_abc123_pubsub") pool: the PubSub connection pool

(poolName string, pool PubSubPooler)

Source from the content-addressed store, hash-verified

114 // poolName: identifier for the pool (e.g., "main_abc123_pubsub")
115 // pool: the PubSub connection pool
116 RegisterPubSubPool(poolName string, pool PubSubPooler)
117 // UnregisterPubSubPool is called when a PubSub client is closed to remove its pool.
118 // pool: the PubSub connection pool to unregister
119 UnregisterPubSubPool(pool PubSubPooler)

Callers 1

RegisterPoolsFunction · 0.65

Implementers 1

Calls

no outgoing calls

Tested by

no test coverage detected