common

package
v0.0.0-...-0583c98 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL