Remove last remnance of old ws mux
parent
c7fca65206
commit
d68f4feb6c
7
bot.go
7
bot.go
|
@ -3,7 +3,6 @@ package main
|
|||
import (
|
||||
"context"
|
||||
"log"
|
||||
"net/http"
|
||||
"os"
|
||||
"os/signal"
|
||||
"sync"
|
||||
|
@ -41,11 +40,6 @@ func init() {
|
|||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
app.mux = http.NewServeMux()
|
||||
|
||||
go http.ListenAndServe(":8826", app.mux)
|
||||
|
||||
log.Println("bot.go done.")
|
||||
}
|
||||
|
||||
|
@ -66,7 +60,6 @@ type App struct {
|
|||
playlist *Playlist
|
||||
plm *sync.RWMutex
|
||||
hubbub *gohubbub.Client
|
||||
mux *http.ServeMux
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
|
Loading…
Reference in New Issue