Skip to content

Instantly share code, notes, and snippets.

@studiomaestro
Created January 28, 2012 05:50
Show Gist options
  • Save studiomaestro/1692918 to your computer and use it in GitHub Desktop.
Save studiomaestro/1692918 to your computer and use it in GitHub Desktop.
redis akari server
var redisd = require('./lib/redisd');
var server = redisd.createServer(function(command) {
this.encode(['わぁい'+command+ ' あかり'+command+'大好き']);
console.log('query', command);
});
server.listen(16379, function() {
console.log('fake redis started');
});
//> redis-cli -p 16379 うすしお
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment