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

9
go.mod Normal file
View File

@@ -0,0 +1,9 @@
module xteve
go 1.16
require (
github.com/gorilla/websocket v1.4.2 // indirect
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 // indirect
github.com/koron/go-ssdp v0.0.2 // indirect
)

16
go.sum Normal file
View File

@@ -0,0 +1,16 @@
github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc=
github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 h1:iQTw/8FWTuc7uiaSepXwyf3o52HaUYcV+Tu66S3F5GA=
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0/go.mod h1:1NbS8ALrpOvjt0rHPNLyCIeMtbizbir8U//inJ+zuB8=
github.com/koron/go-ssdp v0.0.2 h1:fL3wAoyT6hXHQlORyXUW4Q23kkQpJRgEAYcZB5BR71o=
github.com/koron/go-ssdp v0.0.2/go.mod h1:XoLfkAiA2KeZsYh4DbHxD7h3nR2AZNqVQOa+LJuqPYs=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20200904194848-62affa334b73 h1:MXfv8rhZWmFeqX3GNZRsd6vOLoaCHjYEX3qkRo3YBUA=
golang.org/x/net v0.0.0-20200904194848-62affa334b73/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd h1:xhmwyvizuTgC2qz7ZlMluP20uW+C3Rm0FD/WLDX8884=
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=

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

@@ -5,3 +5,9 @@ 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

View File

@@ -13,7 +13,7 @@ import (
"runtime"
"strings"
"./src"
"xteve/src"
)
// GitHubStruct : GitHub Account. Über diesen Account werden die Updates veröffentlicht