code: func BuildTCPRouterConfiguration(ctx context.Context, configuration *config.TCPConfiguration) {
  	for routerName, router := range configuration.Routers {
  		loggerRouter := log.FromContext(ctx).WithField(log.RouterName, routerName)
  		if len(router.Rule) == 0 {
  			delete(configuration.Routers, routerName)
  			loggerRouter.Errorf("Empty rule")
  			continue
  		}
  
  		if len(router.Service) == 0 {
  			if len(configuration.Services) > 1 {
  				delete(configuration.Routers, routerName)
  				loggerRouter.
  					Error("Could not define the service name for the router: too many services")
  				continue
  			}
  
  			for serviceName := range configuration.Services {
  				router.Service = serviceName
  			}
  		}
  	}
  }
docs: // BuildTCPRouterConfiguration Builds a router configuration.