Remove last remnance of old ws mux

Stein Ivar Berghei 2022-11-19 15:02:15 +01:00
parent c7fca65206
commit d68f4feb6c
1 changed files with 0 additions and 7 deletions

7
bot.go
View File

@ -3,7 +3,6 @@ package main
import ( import (
"context" "context"
"log" "log"
"net/http"
"os" "os"
"os/signal" "os/signal"
"sync" "sync"
@ -41,11 +40,6 @@ func init() {
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)
} }
app.mux = http.NewServeMux()
go http.ListenAndServe(":8826", app.mux)
log.Println("bot.go done.") log.Println("bot.go done.")
} }
@ -66,7 +60,6 @@ type App struct {
playlist *Playlist playlist *Playlist
plm *sync.RWMutex plm *sync.RWMutex
hubbub *gohubbub.Client hubbub *gohubbub.Client
mux *http.ServeMux
} }
func main() { func main() {