Files
cloudron-box/src/sysinfo/interface.js
T

22 lines
478 B
JavaScript
Raw Normal View History

2016-10-07 13:22:39 -07:00
'use strict';
// -------------------------------------------
// This file just describes the interface
//
// New backends can start from here
// -------------------------------------------
exports = module.exports = {
2019-10-29 15:46:33 -07:00
getServerIp: getServerIp
2016-10-07 13:22:39 -07:00
};
var assert = require('assert');
2019-10-29 15:46:33 -07:00
function getServerIp(config, callback) {
assert.strictEqual(typeo config, 'object');
2016-10-07 13:22:39 -07:00
assert.strictEqual(typeof callback, 'function');
callback(new Error('not implemented'));
}