engines/dragonfly_client library
This library provides a Dragonfly-compatible interface.
It allows users to use the client with familiar class names (e.g.,
DragonflyClient, DragonflyException).
This is a wrapper around keyscope_client to provide a seamless developer
experience (DX)
for those migrating from Dragonfly or preferring Dragonfly terminology.
Typedefs
- DragonflyClient = KeyscopeClient
- Alias for KeyscopeClient. Use this for Standalone/Sentinel connections.
- DragonflyClientException = KeyscopeClientException
- Alias for KeyscopeClientException. Thrown on invalid API usage.
- DragonflyClusterClient = KeyscopeClusterClient
- Alias for KeyscopeClusterClient. Use this for Cluster connections.
- DragonflyConnectionException = KeyscopeConnectionException
- Alias for KeyscopeConnectionException. Thrown on network/socket errors.
- DragonflyConnectionSettings = KeyscopeConnectionSettings
- Alias for KeyscopeConnectionSettings.
- DragonflyException = KeyscopeException
- Alias for KeyscopeException. The base class for all exceptions.
- DragonflyLogger = KeyscopeLogger
- Alias for KeyscopeLogger.
- DragonflyLogLevel = KeyscopeLogLevel
- Alias for KeyscopeLogLevel.
- DragonflyMessage = KeyscopeMessage
- Alias for KeyscopeMessage. Represents a Pub/Sub message.
- DragonflyParsingException = KeyscopeParsingException
- Alias for KeyscopeParsingException. Thrown on protocol parsing errors.
- DragonflyPool = KeyscopePool
- Alias for KeyscopePool. Use this for connection pooling.
- DragonflyServerException = KeyscopeServerException
- Alias for KeyscopeServerException. Thrown when the server responds with an error.