code: func (i *Handle) doGetDestinationsCmd(s *Service, d *Destination) ([]*Destination, error) {
  
  	var res []*Destination
  
  	msgs, err := i.doCmdwithResponse(s, d, ipvsCmdGetDest)
  	if err != nil {
  		return nil, err
  	}
  
  	for _, msg := range msgs {
  		dest, err := i.parseDestination(msg)
  		if err != nil {
  			return res, err
  		}
  		res = append(res, dest)
  	}
  	return res, nil
  }
docs: // doGetDestinationsCmd a wrapper function to be used by GetDestinations and GetDestination(d) apis