func (s *Services) RemoveService(service *Service) {
	s.mu.Lock()
	defer s.mu.Unlock()

	removed, _ := s.removedPerType[service.Type]
	for _, ch := range append(removed, s.allRemoved...) {
		ch <- service
	}
}
// RemoveService sends a removed service to all the channels that registered.
RemoveService sends a removed service to all the channels that registered.
// RemoveService sends a removed service to all the channels that registered .
func (s *Services) RemoveService(service *Service) {
	s.mu.Lock()
	defer s.mu.Unlock()
	removed, _ := s.removedPerType[service.Type]
	for _, ch := range append(removed, s.allRemoved...) {
		ch <- service
	}
}
func ( s * Services ) RemoveService ( service * Service ) { s . mu . Lock ( ) defer s . mu . Unlock ( ) removed , _ := s . removedPerType [ service . Type ] for _ , ch := range append ( removed , s . allRemoved ... ) { ch <- service } }
RemoveService sends a removed service to all the channels that registered.
RemoveService sends a removed service to all the channels that registered .