Add sysinfo interface definition

This commit is contained in:
Girish Ramakrishnan
2016-10-07 13:22:39 -07:00
parent b45fca6468
commit 0ae1238233

20
src/sysinfo/interface.js Normal file
View File

@@ -0,0 +1,20 @@
'use strict';
// -------------------------------------------
// This file just describes the interface
//
// New backends can start from here
// -------------------------------------------
exports = module.exports = {
getIp: getIp
};
var assert = require('assert');
function getIp(callback) {
assert.strictEqual(typeof callback, 'function');
callback(new Error('not implemented'));
}