controller

package
v1.8.9 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaptchaRouter

func CaptchaRouter(r *gin.RouterGroup)

func CheckPoint

func CheckPoint(sx, sy, dx, dy, padding int64) bool

CheckPoint is the position of the detection point

func GetPWD

func GetPWD() string

GetPWD .

func ReadCache

func ReadCache(key string) []byte

ReadCache .

func StringToMD5

func StringToMD5(src string) string

StringToMD5 MD5

func WriteCache

func WriteCache(key string, data []byte)

WriteCache .

Types

type Block

type Block struct {
	X      int `json:"x"`
	Y      int `json:"y"`
	Width  int `json:"width"`
	Height int `json:"height"`
	Angle  int `json:"angle"`
	TileX  int `json:"tile_x"`
	TileY  int `json:"tile_y"`
}

Jump to

Keyboard shortcuts

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