mirror of
https://github.com/pierre-emmanuelJ/iptv-proxy.git
synced 2026-03-17 15:34:10 +01:00
18 lines
359 B
Go
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
|
|
}
|