MCPcopy Create free account
hub / github.com/corestoreio/pkg / NewRedisClient

Function NewRedisClient

storage/objcache/objcacheredis/redis.go:37–46  ·  view source on GitHub ↗

NewRedisClient connects to the Redis server and does a ping to check if the connection works correctly.

(pool *redis.Pool, ro *RedisOption)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

doPingFunction · 0.85

Tested by

no test coverage detected