constant

package
v0.0.0-...-e20480a Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: MIT Imports: 0 Imported by: 4

Documentation

Index

Constants

View Source
const (
	// CodeKeyPrefix 缓存key前缀
	CodeKeyPrefix = "RUNNING:CAPTCHA:%s"

	// BlockPuzzleCaptcha 滑动验证码服务标识
	BlockPuzzleCaptcha = "blockPuzzle"

	// ClickWordCaptcha 点击验证码服务标识
	ClickWordCaptcha = "clickWord"

	// MemCacheKey 内存缓存标识
	MemCacheKey = "mem"
	// RedisCacheKey redis缓存标识
	RedisCacheKey = "redis"

	// DefaultFont 字体文件地址
	DefaultFont = "/resources/fonts/WenQuanZhengHei.ttf"
	// DefaultResourceRoot 默认根目录
	DefaultResourceRoot = "./"
	// DefaultText 默认水印显示文字
	DefaultText = "我的水印"
)
View Source
const (
	// DefaultTemplateImageDirectory 滑动模板图文件目录地址
	DefaultTemplateImageDirectory = "/resources/defaultImages/jigsaw/slidingBlock"
	// DefaultBackgroundImageDirectory 背景图片目录地址
	DefaultBackgroundImageDirectory = "/resources/defaultImages/jigsaw/original"
	// DefaultClickBackgroundImageDirectory 点击背景图默认地址
	DefaultClickBackgroundImageDirectory = "/resources/defaultImages/pic-click"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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