(possibly) Added UDP linker capabilities

This commit is contained in:
Caleb Gardner
2021-09-21 06:25:37 -05:00
parent 1be4378071
commit b7fd4ec7d8
3 changed files with 28 additions and 17 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ import (
var quitChan chan string = make(chan string)
func main() {
go tcpLinker()
go linker()
go webserver()
for failure := <-quitChan; ; failure = <-quitChan {
switch failure {
@@ -28,7 +28,7 @@ func tcpLinkerRestart() {
log.Println("TCP linker failed. Restarting in 5 seconds...")
time.Sleep(5 * time.Second)
log.Println("Restarting tcp linker")
tcpLinker()
linker()
}
func websiteRestart() {