You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
synctv/internal/conf/proxy.go

14 lines
338 B
Go

package conf
type ProxyConfig struct {
MovieProxy bool `yaml:"movie_proxy" lc:"enable movie proxy (default: true)" env:"PROXY_MOVIE"`
LiveProxy bool `yaml:"live_proxy" lc:"enable live proxy (default: true)" env:"PROXY_LIVE"`
}
func DefaultProxyConfig() ProxyConfig {
return ProxyConfig{
MovieProxy: true,
LiveProxy: true,
}
}