mirror of
https://github.com/pierre-emmanuelJ/iptv-proxy.git
synced 2026-03-15 17:09:16 +01:00
Big refactoring (#27)
Signed-off-by: Pierre-Emmanuel Jacquier <15922119+pierre-emmanuelJ@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
cb94ac2db7
commit
520fb7fd14
@@ -2,8 +2,6 @@ package config
|
||||
|
||||
import (
|
||||
"net/url"
|
||||
|
||||
"github.com/jamesnetherton/m3u"
|
||||
)
|
||||
|
||||
// HostConfiguration containt host infos
|
||||
@@ -14,7 +12,6 @@ type HostConfiguration struct {
|
||||
|
||||
// ProxyConfig Contain original m3u playlist and HostConfiguration
|
||||
type ProxyConfig struct {
|
||||
Playlist *m3u.Playlist
|
||||
HostConfig *HostConfiguration
|
||||
XtreamUser string
|
||||
XtreamPassword string
|
||||
@@ -24,6 +21,5 @@ type ProxyConfig struct {
|
||||
CustomEndpoint string
|
||||
RemoteURL *url.URL
|
||||
HTTPS bool
|
||||
//XXX Very unsafe
|
||||
User, Password string
|
||||
User, Password string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user