mirror of
https://github.com/arnaucube/gogame.git
synced 2026-02-07 19:46:39 +01:00
api /resources/:userid working
This commit is contained in:
@@ -19,6 +19,9 @@ func newApiService() *gin.Engine {
|
||||
api.GET("/info", handleInfo)
|
||||
api.POST("/register", handleRegister)
|
||||
api.POST("/login", handleLogin)
|
||||
|
||||
// TODO add jwt checker
|
||||
api.GET("/resources/:userid", handleGetResources)
|
||||
return api
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user