0.3.5 • Published 12 years ago

amino-driver-redis v0.3.5

Weekly downloads
21
License
-
Repository
-
Last release
12 years ago

amino-pubsub-redis allows you to use redis as a pub/sub backend for amino.

Usage

publisher.js

// Tell other nodes my name when I start.
var amino = require('amino')
  .use(require('amino-pubsub-redis'), {host: 'localhost', port: 6379});

amino.publish('myname', 'amino99');

subscriber.js

// Greet other nodes as they come up.
var amino = require('amino')
  .use(require('amino-pubsub-redis'), {host: 'localhost', port: 6379});

amino.subscribe('myname', function(name) {
  console.log('hello, ' + name + '!');
});
0.3.5

12 years ago

0.3.4

12 years ago

0.3.2

12 years ago

0.3.1

12 years ago

0.3.0

12 years ago

0.2.0

12 years ago