lib/agent.js
function Agent(consul) {
  this.consul = consul;
  this.check = new Agent.Check(consul);
  this.service = new Agent.Service(consul);
}
function Agent(consul) {
  this.consul = consul;
  this.check = new Agent.Check(consul);
  this.service = new Agent.Service(consul);
}
function Agent ( consul ) { this . consul = consul ; this . check = new Agent . Check ( consul ) ; this . service = new Agent . Service ( consul ) ; }
Initialize a new `Agent` client.
Initialize a new Agent client .