Files
iptv-proxy/pkg/config/config.go
Pierre-Emmanuel Jacquier 4eecb8fc64 Add UNSAFE auth
Signed-off-by: Pierre-Emmanuel Jacquier <pierre-emmanuel.jacquier@epitech.eu>
2019-03-01 11:02:35 +01:00

18 lines
359 B
Go

package config
import "github.com/jamesnetherton/m3u"
// HostConfiguration containt host infos
type HostConfiguration struct {
Hostname string
Port int64
}
// ProxyConfig Contain original m3u playlist and HostConfiguration
type ProxyConfig struct {
Playlist *m3u.Playlist
HostConfig *HostConfiguration
//XXX Very unsafe
User, Password string
}