Refactor route handlers

This commit is contained in:
Marc Di Luzio 2020-06-04 17:21:23 +01:00
parent fd4b4205ba
commit b95d92350a
3 changed files with 66 additions and 77 deletions

View file

@ -33,8 +33,7 @@ type Server struct {
server *http.Server
router *mux.Router
persistence int
persistenceLocation string
persistence int
sync sync.WaitGroup
}