tencent_captcha

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(scenes, ticket, ip string) *response.Response

func InitTencentCaptcha

func InitTencentCaptcha(rc *RootConfig)

Types

type CheckReq

type CheckReq struct {
	Scenes string `json:"scenes"`
	Ticket string `json:"ticket"`
}

type RootConfig

type RootConfig struct {
	Config tencentCaptcha `yaml:"tencent-captcha"`
}

func NewConfig

func NewConfig() *RootConfig

type Scenes

type Scenes struct {
	CaptchaAppId uint64 `yaml:"captchaAppId"`
	AppSecretKey string `yaml:"appSecretKey"`
	CaptchaType  uint64 `yaml:"captchaType"`
}

Jump to

Keyboard shortcuts

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