1.1.0 • Published 5 years ago

@uet/pusher v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Node Pusher for Whois Runner

Super simple to use.

  • Variable environments will be automatically loaded into package:
SUBMIT_HOST=http://localhost:2000
SUBMIT_SECRET=xxxx
  • Pushing the job result back to system:
const pusher = require('@uet/pusher');
pusher.submit({
    id: 'job_id',
    is_pass:true, // or false
    message: '',
    std_out: '',
    std_err: ''
})
  • You can change settings to override default settings by the way:
pusher.settings({
    host: 'https://another-host.com',
    secret: 'another_secret'
})

License

MIT © UET Code Camp

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago