Created
January 28, 2012 05:50
-
-
Save studiomaestro/1692918 to your computer and use it in GitHub Desktop.
redis akari server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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