Documentation ¶ Index ¶ func InitCommonAPI(router *gin.RouterGroup) type QueryParam Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func InitCommonAPI ¶ func InitCommonAPI(router *gin.RouterGroup) Types ¶ type QueryParam ¶ type QueryParam struct { Version string `form:"version" default:"14.5.1" binding:"required"` // Version Lang string `form:"lang" default:"zh_CN" binding:"required"` Mode string `form:"mode" default:"CLASSIC"` // Game mode } Source Files ¶ View all Source files enter.go game_data.go Click to show internal directories. Click to hide internal directories.