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

	added := make(chan *Service)
	s.allAdded = append(s.allAdded, added)

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