redisTest: function(callback){
GameDBCon.set('my test key', 'my test value');
GameDBCon.get('my test key', function (error, result) {
if (error) {
callback(false);
console.log(error);
throw error;
}
console.log('GET result ->' + result);
callback(true);
});
},
callback is not a function???
GameDBCon.set('my test key', 'my test value');
GameDBCon.get('my test key', function (error, result) {
if (error) {
callback(false);
console.log(error);
throw error;
}
console.log('GET result ->' + result);
callback(true);
});
},
callback is not a function???