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

Struct mockPooler

internal/auth/streaming/manager_test.go:87–87  ·  view source on GitHub ↗

Mock pooler for testing

Source from the content-addressed store, hash-verified

85
86// Mock pooler for testing
87type mockPooler struct{}
88
89func (m *mockPooler) NewConn(ctx context.Context) (*pool.Conn, error) { return nil, nil }
90func (m *mockPooler) CloseConn(context.Context, *pool.Conn, string, string) error { return nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected