Documentation ¶
Index ¶
Constants ¶
View Source
const CacheKeyPrefix = "captcha_"
CacheKeyPrefix captcha cache key prefix
View Source
const LifeTime = 3600
LifeTime captcha validity period
Variables ¶
This section is empty.
Functions ¶
func NextTimeNeed ¶
NextTimeNeed does the next request require a captcha?
Types ¶
type Form ¶
type Form struct { CaptchaToken string `json:"captcha_token"` CaptchaCode string `json:"captcha_code"` }
Form receive form for captcha
Click to show internal directories.
Click to hide internal directories.