refactor server startup into jobs

This commit is contained in:
sentriz
2020-04-18 19:32:51 +01:00
parent 64d0aee8dc
commit 1ff5845a02
15 changed files with 257 additions and 151 deletions

View File

@@ -7,7 +7,6 @@ import (
"path"
"go.senan.xyz/gonic/db"
"go.senan.xyz/gonic/jukebox"
"go.senan.xyz/gonic/scanner"
)
@@ -50,7 +49,6 @@ type Controller struct {
MusicPath string
Scanner *scanner.Scanner
ProxyPrefix string
Jukebox *jukebox.Jukebox
}
// Path returns a URL path with the proxy prefix included