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

Method CloseConn

internal/pool/pool.go:329–329  ·  view source on GitHub ↗
(ctx context.Context, cn *Conn, reason string, fromState string)

Source from the content-addressed store, hash-verified

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)
332 Put(context.Context, *Conn)

Callers 5

onAuthenticationErrMethod · 0.65
CloseConnMethod · 0.65
CloseConnMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected