code: func (m *Manager) BuildHandlers(rootCtx context.Context, entryPoints []string, tls bool) map[string]http.Handler {
  	entryPointsRouters := m.filteredRouters(rootCtx, entryPoints, tls)
  
  	entryPointHandlers := make(map[string]http.Handler)
  	for entryPointName, routers := range entryPointsRouters {
  		entryPointName := entryPointName
  		ctx := log.With(rootCtx, log.Str(log.EntryPointName, entryPointName))
  
  		handler, err := m.buildEntryPointHandler(ctx, routers)
  		if err != nil {
  			log.FromContext(ctx).Error(err)
  			continue
  		}
  
  		handlerWithAccessLog, err := alice.New(func(next http.Handler) (http.Handler, error) {
  			return accesslog.NewFieldHandler(next, log.EntryPointName, entryPointName, accesslog.AddOriginFields), nil
  		}).Then(handler)
  		if err != nil {
  			log.FromContext(ctx).Error(err)
  			entryPointHandlers[entryPointName] = handler
  		} else {
  			entryPointHandlers[entryPointName] = handlerWithAccessLog
  		}
  	}
  
  	m.serviceManager.LaunchHealthCheck()
  
  	return entryPointHandlers
  }
docs: // BuildHandlers Builds handler for all entry points