node.js IPC(Inter Process Communication) package using RPC over HTTP.
Install using npm: (coming soon)
npm install teade
Require library
var teade = require('teade');
var server = new teade.Server();
server.addService({
'hello': func1,
'hey': func2
});
server.bind(8080);
server.start();
var client = new teade.Client('http://localhost', 8080);
var payload = {
name: "John"
}
client.request('hello', payload, function(err, response) {
if (err) {
//handle error
} else {
//do something with the response
}
})
(Coming Soon)