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

Struct ClientFactory

maintnotifications/e2e/config_parser_test.go:267–271  ·  view source on GitHub ↗

ClientFactory manages Redis client creation and lifecycle

Source from the content-addressed store, hash-verified

265
266// ClientFactory manages Redis client creation and lifecycle
267type ClientFactory struct {
268 config *RedisConnectionConfig
269 clients map[string]redis.UniversalClient
270 mutex sync.RWMutex
271}
272
273// NewClientFactory creates a new client factory with the specified configuration
274func NewClientFactory(config *RedisConnectionConfig) *ClientFactory {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected