engines/redis_client library

This library provides a Redis-compatible interface.

It allows users to use the client with familiar class names (e.g., RedisClient, RedisException). This is a wrapper around keyscope_client to provide a seamless developer experience (DX) for those migrating from Redis or preferring Redis terminology.

Typedefs

RedisClient = KeyscopeClient
Alias for KeyscopeClient. Use this for Standalone/Sentinel connections.
RedisClientException = KeyscopeClientException
Alias for KeyscopeClientException. Thrown on invalid API usage.
RedisClusterClient = KeyscopeClusterClient
Alias for KeyscopeClusterClient. Use this for Cluster connections.
RedisConnectionException = KeyscopeConnectionException
Alias for KeyscopeConnectionException. Thrown on network/socket errors.
RedisConnectionSettings = KeyscopeConnectionSettings
Alias for KeyscopeConnectionSettings.
RedisException = KeyscopeException
Alias for KeyscopeException. The base class for all exceptions.
RedisLogger = KeyscopeLogger
Alias for KeyscopeLogger.
RedisLogLevel = KeyscopeLogLevel
Alias for KeyscopeLogLevel.
RedisMessage = KeyscopeMessage
Alias for KeyscopeMessage. Represents a Pub/Sub message.
RedisParsingException = KeyscopeParsingException
Alias for KeyscopeParsingException. Thrown on protocol parsing errors.
RedisPool = KeyscopePool
Alias for KeyscopePool. Use this for connection pooling.
RedisServerException = KeyscopeServerException
Alias for KeyscopeServerException. Thrown when the server responds with an error.