How to use the redis.client function in redis

To help you get started, we’ve selected a few redis examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github codedance-top / menuet / lib / loaders / models.js View on Github external
(name) => {
      return ({
        Schema: Schema,
        ObjectId: ObjectId,
        Types: Types,
        $redis: redis.client,
        $config: app[CONFIG],
        $string: app[GET_STRING],
        $utils: require('../../utils')
      })[name];
    },
    app[GET_UTIL]
github codedance-top / menuet / lib / redis.js View on Github external
redisClient.on('ready', () => {
      redis.client = new RedisClientWrapper(redisClient);
      resolve();
    });