luosimao

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Error = errors.New("人机识别验证失败")

Functions

func Verify

func Verify(reqURL, apiKey, response string) error

Verify 对前端的验证码进行验证

Types

type Result

type Result struct {
	Error int    `json:"error"`
	Res   string `json:"res"`
	Msg   string `json:"msg"`
}

func (*Result) CheckError

func (l *Result) CheckError() error

Jump to

Keyboard shortcuts

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