Dane caused this monstrosity to occur.. Port over remaining transfer/archive code to gin, delete http.go

This commit is contained in:
Matthew Penner
2020-04-06 13:49:49 -06:00
parent 03311ecf03
commit 718b126baf
7 changed files with 106 additions and 167 deletions

View File

@@ -21,6 +21,7 @@ func Configure() *gin.Engine {
protected.GET("/api/system", getSystemInformation)
protected.GET("/api/servers", getAllServers)
protected.POST("/api/servers", postCreateServer)
protected.POST("/api/transfer", postTransfer)
// These are server specific routes, and require that the request be authorized, and
// that the server exist on the Daemon.
@@ -54,4 +55,4 @@ func Configure() *gin.Engine {
}
return router
}
}