lib/xgminer.js
function xgminer(host, port, options) {
  this.host = host || this.defaults.host;
  this.port = port || this.defaults.port;
  this.options = this.defaults;

  if (options) {
    _.defaults(this.options, options);
  }
}
function xgminer(host, port, options) {
  this.host = host || this.defaults.host;
  this.port = port || this.defaults.port;
  this.options = this.defaults;

  if (options) {
    _.defaults(this.options, options);
  }
}
function xgminer ( host , port , options ) { this . host = host || this . defaults . host ; this . port = port || this . defaults . port ; this . options = this . defaults ; if ( options ) { _ . defaults ( this . options , options ) ; } }
Create an instance of xgminer.

@param {Name} name
@param {Host} host
@param {Port} port
@param {Options} options
Create an instance of xgminer .