Skip to content

Commit

Permalink
Moved jnrpe impl to a library project.
Browse files Browse the repository at this point in the history
Made this server implementation depends on the library
  • Loading branch information
ziccardi committed Aug 20, 2018
1 parent b69e19d commit e23f448
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 236 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
var JNRPEServer = require('jnrpe-lib').JNRPEServer;
const config = require('./config.json');

new JNRPEServer(config).start();
128 changes: 0 additions & 128 deletions lib/net/protocol.js

This file was deleted.

103 changes: 0 additions & 103 deletions lib/server.js

This file was deleted.

12 changes: 12 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
"url": "git://github.com/ziccardi/jsnrpe.git"
},
"dependencies": {
"crc-32": "^1.2.0",
"enum": "^2.5.0",
"js-plugins": "^1.0.0",
"quote-unquote": "^1.0.0",
"split-string": "^6.0.0"
"jnrpe-lib": "^1.0.0-alpha.1"
}
}

0 comments on commit e23f448

Please sign in to comment.