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 = {
|
2017-02-23 22:03:44 -08:00
|
|
|
getPublicIp: getPublicIp
|
2016-10-07 13:22:39 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
var assert = require('assert');
|
|
|
|
|
|
2017-02-23 22:03:44 -08:00
|
|
|
function getPublicIp(callback) {
|
2016-10-07 13:22:39 -07:00
|
|
|
assert.strictEqual(typeof callback, 'function');
|
|
|
|
|
|
|
|
|
|
callback(new Error('not implemented'));
|
|
|
|
|
}
|
|
|
|
|
|