redis-cluster-wrapper
v1.1.6
Published
Wrapper for a redis master/slave cluster.
Downloads
3
Readme
How to use
let client = require('redis-cluster-wrapper')({
'master_port': master_port,
'master_host': master_host,
'slave_port': slave_port,
'slave_host': slave_host,
});
client.set('foo', 'bar'); // master
client.get('foo'); // slave