captcha

package
v0.0.0-...-476b199 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: LGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const GEETEST_API_SERVER string = "http://gcaptcha4.geetest.com"

geetest 服务地址

Variables

This section is empty.

Functions

func GeetestCheck

func GeetestCheck(paramsJSON string) (isPass bool, reason string, err error)

Types

type GeetestParams

type GeetestParams struct {
	CaptchaID     string `json:"captcha_id"`
	LotNumber     string `json:"lot_number"`
	PassToken     string `json:"pass_token"`
	GenTime       string `json:"gen_time"`
	CaptchaOutput string `json:"captcha_output"`
}

Jump to

Keyboard shortcuts

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