MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / Client

Method Client

internal/redis-db/redisdb.go:201–203  ·  view source on GitHub ↗

Client returns the Redis universal client. It can be used directly for Redis operations like Get, Set, or Publish. Returns: - redis.UniversalClient: The universal Redis client, which supports both standalone and clustered Redis instances.

()

Source from the content-addressed store, hash-verified

199// Returns:
200// - redis.UniversalClient: The universal Redis client, which supports both standalone and clustered Redis instances.
201func (r *Redis) Client() redis.UniversalClient {
202 return r.client
203}
204
205// MakeRedisClient returns the Redis client interface, allowing compatibility with other packages or tools.
206//

Callers 4

initializeRedisClientsFunction · 0.80
newRedisCacheFunction · 0.80
TestNewRedisClientFunction · 0.80
TestRedisIntegrationFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestNewRedisClientFunction · 0.64
TestRedisIntegrationFunction · 0.64