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

Struct StickyConnPool

internal/pool/pool_sticky.go:36–44  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

34//------------------------------------------------------------------------------
35
36type StickyConnPool struct {
37 pool Pooler
38 shared int32 // atomic
39
40 state uint32 // atomic
41 ch chan *Conn
42
43 _badConnError atomic.Value
44}
45
46var _ Pooler = (*StickyConnPool)(nil)
47

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected