tencent_captcha

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(req CheckReq) *response.Response

func InitTencentCaptcha

func InitTencentCaptcha(rc *RootConfig)

Types

type CheckReq

type CheckReq struct {
	Scenes string
	Ticket string
	UserIp string
}

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