ClientFactory manages Redis client creation and lifecycle
| 265 | |
| 266 | // ClientFactory manages Redis client creation and lifecycle |
| 267 | type 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 |
| 274 | func NewClientFactory(config *RedisConnectionConfig) *ClientFactory { |
nothing calls this directly
no outgoing calls
no test coverage detected