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

Method AddPoolHook

internal/pool/pool.go:343–343  ·  view source on GitHub ↗
(hook PoolHook)

Source from the content-addressed store, hash-verified

341 Size() int
342
343 AddPoolHook(hook PoolHook)
344 RemovePoolHook(hook PoolHook)
345
346 // RemoveWithoutTurn removes a connection from the pool without freeing a turn.

Callers 2

NewClientFunction · 0.65
InitPoolHookMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected