code: func New(client *consul.Client) *ConsulLocker {
  	return &ConsulLocker{
  		Client: client,
  		locks:  make(map[string]*consul.Lock),
  		mutex:  new(sync.RWMutex),
  	}
  }
docs: // New constructs a new locker using the provided client.