Add route to set/get sysinfo
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user