rediskill
v0.0.1
Published
a redis simple queue service
Downloads
1
Readme
rediskill
a redis queue service for key-value messages
Quick Example
//use a redis connection as queue
var queue = require('rediskill').connectToRedis('0.0.0.0', 6379);
//send a message via sendMessage(key, value) method
queue.sendMessage(1, {
'name': 'Jonathan Berguer',
'country': 'germany'
});
//get the oldest message on queue
var someMessageFromQueue = queue.receiveMessage();