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

Method len

internal/pool/want_conn_test.go:11–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9)
10
11func (q *wantConnQueue) len() int {
12 q.mu.RLock()
13 defer q.mu.RUnlock()
14 return len(q.items)
15}
16
17func TestWantConn_getCtxForDial(t *testing.T) {
18 ctx := context.Background()

Calls

no outgoing calls

Tested by

no test coverage detected