Skip to content

strongloop/strong-pubsub-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

strong-pubsub-redis

Redis Adapter for strong-pubsub

Installation

$ npm install strong-pubsub-redis

Use

var Client = require('strong-pubsub');
var Adapter = require('strong-pubsub-redis');

var client = new Client({host: 'http://my.message-broker.com', port: 3000}, Adapter);

client.publish('my topic', 'my message');