Skip to content

myDevicesIoT/transporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published