code: func (pn *peernet) allConns() []*conn {
  	pn.RLock()
  	var cs []*conn
  	for _, csl := range pn.connsByPeer {
  		for c := range csl {
  			cs = append(cs, c)
  		}
  	}
  	pn.RUnlock()
  	return cs
  }
docs: // allConns returns all the connections between this peer and others