code: func (s *service) GetPeers() ([]fab.Peer, error) {
  	if s.peersRef.IsClosed() {
  		return nil, errors.Errorf("Discovery client has been closed")
  	}
  
  	refValue, err := s.peersRef.Get()
  	if err != nil {
  		return nil, err
  	}
  	peers, ok := refValue.([]fab.Peer)
  	if !ok {
  		return nil, errors.New("get peersRef didn't return Peer type")
  	}
  	return peers, nil
  }
docs: // GetPeers returns the available peers