mirror of
https://github.com/arnaucube/gogame.git
synced 2026-02-07 19:46:39 +01:00
add get planet data
This commit is contained in:
@@ -96,6 +96,7 @@ func newApiService() *gin.Engine {
|
||||
api.GET("/", handleGetUser)
|
||||
api.GET("/resources", handleGetResources)
|
||||
api.GET("/planets", handleGetUserPlanets)
|
||||
api.GET("/planets/:planetid", handleGetPlanet)
|
||||
api.POST("/buildings", handlePostUpgradeBuilding)
|
||||
}
|
||||
return api
|
||||
|
||||
Reference in New Issue
Block a user