Add go.mod and go.sum. Require go v1.16

This commit is contained in:
xteve-project
2021-03-29 19:47:56 +02:00
parent 884b427754
commit e44eff0645
12 changed files with 42 additions and 11 deletions

View File

@@ -6,7 +6,7 @@ import (
"net/http"
"strings"
"../src/internal/authentication"
"xteve/src/internal/authentication"
)
func activatedSystemAuthentication() (err error) {

View File

@@ -11,8 +11,8 @@ import (
"strings"
"time"
"../src/internal/authentication"
"../src/internal/imgcache"
"xteve/src/internal/authentication"
"xteve/src/internal/imgcache"
)
// Einstellungen ändern (WebUI)

View File

@@ -1,7 +1,13 @@
#EXTM3U url-tvg="http://example.com/file.xml" x-tvg-url="http://example.com/xteve.xml"
#EXTINF:0 channelID="1" tvg-chno="1" tvg-name="Channel.1" tvg-id="tvg.id.1" tvg-logo="https://example/logo.png" group-title="Group 1",Channel 1
#EXTINF:0 channelID="1" tvg-chno="1" tvg-name="Channel.1" tvg-id="tvg.id.1" tvg-logo="https://example/logo.png" group-title="Group 1", Channel 1
http://example.com/stream/1
#EXTINF:0 channelID="2" tvg-chno="2" tvg-name="Channel.2" tvg-id="tvg.id.2" tvg-logo="https://example/logo.png" group-title="Group 2",Channel 2
#123
http://example.com/stream/2
#EXTINF:123, Sample artist - Sample title
http://example.com/stream/3
#EXTINF:321,Example Artist - Example title
http://example.com/stream/4

View File

@@ -9,7 +9,7 @@ import (
"strconv"
"strings"
m3u "../src/internal/m3u-parser"
m3u "xteve/src/internal/m3u-parser"
)
// Playlisten parsen

View File

@@ -8,7 +8,7 @@ import (
"strings"
"time"
m3u "../src/internal/m3u-parser"
m3u "xteve/src/internal/m3u-parser"
)
// fileType: Welcher Dateityp soll aktualisiert werden (m3u, hdhr, xml) | fileID: Update einer bestimmten Datei (Provider ID)

View File

@@ -1,6 +1,6 @@
package src
import "../src/internal/imgcache"
import "xteve/src/internal/imgcache"
// SystemStruct : Beinhaltet alle Systeminformationen
type SystemStruct struct {

View File

@@ -7,7 +7,7 @@ import (
"io/ioutil"
"net/http"
up2date "../src/internal/up2date/client"
up2date "xteve/src/internal/up2date/client"
"reflect"
)

View File

@@ -10,7 +10,7 @@ import (
"strconv"
"strings"
"../src/internal/authentication"
"xteve/src/internal/authentication"
"github.com/gorilla/websocket"
)

View File

@@ -16,7 +16,7 @@ import (
"strings"
"time"
"../src/internal/imgcache"
"xteve/src/internal/imgcache"
)
// Provider XMLTV Datei überprüfen