Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redis/go-redis
/ initHooks
Method
initHooks
redis.go:74–78 ·
view source on GitHub ↗
(hooks hooks)
Source
from the content-addressed store, hash-verified
72
}
73
74
func
(hs *hooksMixin) initHooks(hooks hooks) {
75
hs.hooksMu = new(sync.RWMutex)
76
hs.initial = hooks
77
hs.chain()
78
}
79
80
type
hooks
struct
{
81
dial DialHook
Callers
8
init
Method · 0.80
newConn
Function · 0.80
NewRing
Function · 0.80
NewClusterClient
Function · 0.80
init
Method · 0.80
TestInitConnNilMaintNotificationsConfig
Function · 0.80
newTestBaseClient
Function · 0.80
NewSentinelClient
Function · 0.80
Calls
1
chain
Method · 0.95
Tested by
2
TestInitConnNilMaintNotificationsConfig
Function · 0.64
newTestBaseClient
Function · 0.64