Add get_beatmaps

This commit is contained in:
Howl
2016-08-22 23:04:52 +02:00
parent 69e1d585cc
commit 73b0f48586
3 changed files with 105 additions and 20 deletions

View File

@@ -120,6 +120,7 @@ func Start(conf common.Conf, dbO *sqlx.DB) *gin.Engine {
api.GET("/get_user_recent", PeppyMethod(peppy.GetUserRecent))
api.GET("/get_user_best", PeppyMethod(peppy.GetUserBest))
api.GET("/get_scores", PeppyMethod(peppy.GetScores))
api.GET("/get_beatmaps", PeppyMethod(peppy.GetBeatmap))
}
r.NoRoute(v1.Handle404)