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

Method Read

internal/pool/main_test.go:62–64  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

60var errDummy = fmt.Errorf("dummyConn err")
61
62func (d *dummyConn) Read(b []byte) (n int, err error) {
63 return 0, errDummy
64}
65
66func (d *dummyConn) Write(b []byte) (n int, err error) {
67 return 0, errDummy

Callers 4

TestDoubleFreeTurnBugFunction · 0.45
connCheckFunction · 0.45
generateUniqueIDFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected