Expand description
RESP2 client for Ruvio.
Connecting does not send CLIENT SETINFO or HELLO.
Structs§
- Client
- A Ruvio client. Against a single server it is one TCP connection. Against a sharded server it opens one connection per shard and sends each command to the shard that owns its key.
- Client
Options - Where to connect, and an optional password sent as
AUTH. - Connection
Notice - A command or subscriber socket dropped, or came back.
- Hash
Scan Page - One
HSCANpage. A cursor of 0 means the scan is complete. - PubSub
Message - A Pub/Sub delivery:
message,pmessage, orsmessage. - Scan
Page - One
SCANpage. A cursor of 0 means the scan is complete. - Sorted
SetAdd Options ZADDoptions. The server refusesNXwithXX,GT, orLT, andGTwithLT.- Sorted
SetEntry - A sorted-set member and its score.
- Stream
Claim Options XCLAIMoptions.- Stream
Entry - One stream entry.
- Stream
Pending Entry - One row of the extended
XPENDINGform. - Stream
Pending Filter - Optional narrowing for the extended
XPENDINGform. - Stream
Read Options XREADandXREADGROUPoptions.- Stream
Read Result - Entries read from one stream key.
Enums§
- Error
- A transport failure, a broken RESP frame, or a Ruvio error reply.
- Field
Expire Condition - When
HEXPIREand its siblings may change a field’s TTL. A field without a TTL counts as an infinite TTL forIfGreaterandIfLess. - Resp
Value - One RESP2 value.
- SetMode
- How
SETtreats a key that already exists or is missing.
Functions§
- hash_
slot - CRC16-XMODEM of the key, or of the first non-empty
{tag}in it.