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

Method NewConn

internal/pool/pool.go:328–328  ·  view source on GitHub ↗
(context.Context)

Source from the content-addressed store, hash-verified

326
327type Pooler interface {
328 NewConn(context.Context) (*Conn, error)
329 CloseConn(ctx context.Context, cn *Conn, reason string, fromState string) error
330
331 Get(context.Context) (*Conn, error)

Callers 6

pubSubMethod · 0.65
pubSubMethod · 0.65
pubSubMethod · 0.65
NewConnMethod · 0.65
NewConnMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected