cofy-redis
cofy-redis
Installation
$ npm install cofy-redis --save
Old methods not change.New methods invoke convention: yield obj.$asyncMethod
var redis = ;var redisClient = redis;; //or you can use redis in old wayredisClient;
ExtraMethods:
redisClient
- $setJson(key , object) - Set json into redis.
- $getJson(key) - Get json from redis.