Add route to set/get sysinfo

This commit is contained in:
Girish Ramakrishnan
2019-10-29 20:08:45 -07:00
parent 813454ca82
commit 8232d471a3
9 changed files with 97 additions and 10 deletions

View File

@@ -7,7 +7,8 @@
// -------------------------------------------
exports = module.exports = {
getServerIp: getServerIp
getServerIp,
testConfig
};
var assert = require('assert');
@@ -19,3 +20,9 @@ function getServerIp(config, callback) {
callback(new Error('not implemented'));
}
function testConfig(config, callback) {
assert.strictEqual(typeof config, 'object');
assert.strictEqual(typeof callback, 'function');
callback(null);
}