code: func (srv *Server) Peers() []*Peer {
  	var ps []*Peer
  	select {
  	// Note: We'd love to put this function into a variable but
  	// that seems to cause a weird compiler error in some
  	// environments.
  	case srv.peerOp <- func(peers map[enode.ID]*Peer) {
  		for _, p := range peers {
  			ps = append(ps, p)
  		}
  	}:
  		<-srv.peerOpDone
  	case <-srv.quit:
  	}
  	return ps
  }
docs: // Peers returns all connected peers.