Added concurrent sync, added search page. Other small changes
This commit is contained in:
1 parent
fafa044c9b
commit
8fa93d580d
35 files changed
+1901
-89
No files matched your search
@@ -19,6 +19,12 @@ func (s *Sync) SyncGames(ctx *gin.Context) {
|
||||
ctx.JSON(http.StatusOK, "Games are synced")
|
||||
}
|
||||
|
||||
func (s *Sync) SyncGamesQuick(ctx *gin.Context) {
|
||||
server.SyncGamesQuick()
|
||||
server.Reset()
|
||||
ctx.JSON(http.StatusOK, "Games are synced")
|
||||
}
|
||||
|
||||
func (s *Sync) ResetGames(ctx *gin.Context) {
|
||||
server.ResetDB()
|
||||
ctx.JSON(http.StatusOK, "Games and songs are deleted from the database")
|
||||
|
||||
Reference in new issue
Block a user