func (s *Services) GetAllRemovedServices() chan *Service {
	s.mu.Lock()
	defer s.mu.Unlock()

	removed := make(chan *Service)
	s.allRemoved = append(s.allRemoved, removed)

	return removed
}
// GetAllRemovedServices registers the channel to receive all removed services.
GetAllRemovedServices registers the channel to receive all removed services.
// GetAllRemovedServices registers the channel to receive all removed services .
func (s *Services) GetAllRemovedServices() chan *Service {
	s.mu.Lock()
	defer s.mu.Unlock()
	removed := make(chan *Service)
	s.allRemoved = append(s.allRemoved, removed)
	return removed
}
func ( s * Services ) GetAllRemovedServices ( ) chan * Service { s . mu . Lock ( ) defer s . mu . Unlock ( ) removed := make ( chan * Service ) s . allRemoved = append ( s . allRemoved , removed ) return removed }
GetAllRemovedServices registers the channel to receive all removed services.
GetAllRemovedServices registers the channel to receive all removed services .