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

Function newDummyConn

internal/pool/main_test.go:41–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39}
40
41func newDummyConn() net.Conn {
42 return &dummyConn{
43 rawConn: new(dummyRawConn),
44 }
45}
46
47var (
48 _ net.Conn = (*dummyConn)(nil)

Callers 4

TestDoubleFreeTurnSimpleFunction · 0.85
dummyDialerFunction · 0.85
pool_test.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected