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

Method PoolHook

internal/auth/streaming/manager.go:59–61  ·  view source on GitHub ↗

PoolHook returns the pool hook for re-authentication. This hook should be registered with the connection pool to enable automatic re-authentication when credentials change.

()

Source from the content-addressed store, hash-verified

57// This hook should be registered with the connection pool to enable
58// automatic re-authentication when credentials change.
59func (m *Manager) PoolHook() pool.PoolHook {
60 return m.poolHookRef
61}
62
63// Listener returns or creates a credentials listener for a connection.
64//

Callers 1

NewClientFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected