package config

import "github.com/spf13/viper"

type Config struct {
	Viper          *viper.Viper
	DataMaps       DataMaps
	ReverseProxies ReverseProxies `mapstructure:"reverse_proxies"`
	TLS            TLS            `mapstructure:"tls"`
	EntryPoints    EntryPoints    `mapstructure:"entry_points"`
	AuthMap        AuthMap        `mapstructure:"auth"`
}

type DataMaps struct {
	DomainToProxy map[string]string
	DomainToAuth  map[string]string
	DomainToCert  map[string]string
}

type ForEachReturn []any
