joaojeronimo / node_redis_cluster

A thin wrapper over node_redis to make it work with Redis Cluster
53 stars 17 forks source link

Add client #16

Open tleef opened 9 years ago

tleef commented 9 years ago

Add an actual Client object instead of just using an EventEmitter. Added two functions, getSlot and getNode to the client which is useful for sending commands that take multiple keys such as SUNION.