code: func (c *Candidate) RunForElection() (<-chan bool, <-chan error) {
  	c.electedCh = make(chan bool)
  	c.errCh = make(chan error)
  
  	go c.campaign()
  
  	return c.electedCh, c.errCh
  }
docs: // RunForElection starts the leader election algorithm. Updates in status are
  // pushed through the ElectedCh channel.
  //
  // ElectedCh is used to get a channel which delivers signals on
  // acquiring or losing leadership. It sends true if we become
  // the leader, and false if we lose it.