Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 539 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 539 Bytes

transporter

Basic support for multiple transport between services for pushing data.

Example

const Transporter = require('transporter');

Transporter.add(Transporter.Redis, { host: 'localhost' });
Transporter.add(Transporter.Kinesis, { host: 'localhost' });

// will publish to Kinesis and Redis 
Transporter.publish('message 1', function(){
    //callback
});

Adapters