You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
384 B
16 lines
384 B
package routers |
|
|
|
import ( |
|
"server/modules/web/handler" |
|
|
|
"github.com/gin-gonic/gin" |
|
) |
|
|
|
func game(e *gin.RouterGroup) { |
|
e.POST("/game/tag", handler.GameTag) |
|
e.POST("/game/list", handler.GameListNew) |
|
e.POST("/game/enter", handler.EnterGameNew) |
|
e.POST("/game/history", handler.GameHistory) |
|
e.POST("/game/profile", handler.GameProfile) |
|
e.POST("/game/search", handler.GameSearch) |
|
}
|
|
|