amon-client

0.1.3 • Public • Published

amon-client

nodejs amon client

How to Install

npm install amon-client

How to use

First, require amon-client:

var Amon = require('amon-client');

use zeromq

var amon = new Amon({host:'127.0.0.1', port:5464, protocal: 'zeromq'});
 
amon.log('this is log transport by zeromq', 'debug');

use http

var amon = new Amon({host:'127.0.0.1', port:2464, protocal: 'http', secret_key:'key in amon.conf'});
 
amon.log('this is log transport by http', 'debug');

Readme

Keywords

none

Package Sidebar

Install

npm i amon-client

Weekly Downloads

2

Version

0.1.3

License

none

Last publish

Collaborators

  • looksgood2021