You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
387 B
17 lines
387 B
5 years ago
|
'use strict';
|
||
|
|
||
|
exports = module.exports = require('./lib/redis');
|
||
|
|
||
|
exports.ReplyError = require('./lib/reply_error');
|
||
|
exports.Promise = require('bluebird');
|
||
|
exports.Cluster = require('./lib/cluster');
|
||
|
exports.Command = require('./lib/command');
|
||
|
|
||
|
exports.print = function (err, reply) {
|
||
|
if (err) {
|
||
|
console.log('Error: ' + err);
|
||
|
} else {
|
||
|
console.log('Reply: ' + reply);
|
||
|
}
|
||
|
};
|