README
skyer-redis-client-component
Skyer redis client component.
Install
$ npm i --save skyer-redis-client-component
Register
/app/components/redis_client.component.js
module.exports = require('skyer-redis-client-component');
Usage
const redisClient = skyer.componentManager.getComponent('redisClient');
yield redisClient.set('skyer','hello!');
const result = yield redisClient.get('skyer');
console.log(result);
hello!
Options
See ioredis
options (https://github.com/luin/ioredis/blob/master/API.md#new-redisport-host-options)