geetest

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RRKey

func RRKey() string

func RRPoint

func RRPoint(req *V3Param) (int, error)

func TTKey

func TTKey() string

func TTPoint

func TTPoint(req *V3Param) (int, error)

Types

type V3Data

type V3Data struct {
	Challenge string `json:"challenge"`
	Validate  string `json:"validate"`
	Seccode   string `json:"seccode,omitempty"`
}

func RR

func RR(req *V3Param) (*V3Data, error)

func TT

func TT(req *V3Param) (*V3Data, error)

type V3Param

type V3Param struct {
	Key        string `json:"key,omitempty"`
	ItemId     string `json:"itemid,omitempty"`
	Referer    string `json:"referer,omitempty"`
	GT         string `json:"gt"`
	Challenge  string `json:"challenge"`
	NewCaptcha int    `json:"new_captcha,omitempty"`
	Success    int    `json:"success,omitempty"`
}

type V4Data

type V4Data struct {
	CaptchaId     string `json:"captcha_id"`
	LotNumber     string `json:"lot_number,omitempty"`
	PassToken     string `json:"pass_token,omitempty"`
	GenTime       string `json:"gen_time,omitempty"`
	CaptchaOutput string `json:"captcha_output,omitempty"`
}

Jump to

Keyboard shortcuts

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