make sysinfo provider a setting

This commit is contained in:
Girish Ramakrishnan
2019-10-29 15:46:33 -07:00
parent 7a25187bee
commit 7d987d7c79
19 changed files with 132 additions and 56 deletions

View File

@@ -7,12 +7,13 @@
// -------------------------------------------
exports = module.exports = {
getPublicIp: getPublicIp
getServerIp: getServerIp
};
var assert = require('assert');
function getPublicIp(callback) {
function getServerIp(config, callback) {
assert.strictEqual(typeo config, 'object');
assert.strictEqual(typeof callback, 'function');
callback(new Error('not implemented'));