cloudqw-pass

0.0.3 • Public • Published

cloudqw-pass

Pass is a Cloudq worker that passes the job from the queue to a specified url performing a post.

install

npm install cloudqw-pass

use

var pass = require('cloudqw-pass'),
config = {
  protocol: 'http',
  host: 'localhost:3000',
  pathname: '/foo',
  interval: 2000
}
pass(config, 'http://foo.com/api/resource', function(err, res){
  console.log('posted job to ' + /resource);
});

/cloudqw-pass/

    Package Sidebar

    Install

    npm i cloudqw-pass

    Weekly Downloads

    3

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • twilson63