Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaptchaType ¶
type CaptchaType = string
type CaptchaType GGCaptcha.CaptchaType
const ( StringCaptcha CaptchaType = "DriverString" MathCaptcha CaptchaType = "DriverMath" MathStringCaptcha CaptchaType = "DriverMathString" PuzzleCaptcha CaptchaType = "DriverPuzzle" )
type GGCaptchator ¶
type GGCaptchator interface { GenerateGGCaptcha() (id, content string, err error) GenerateDriverMath() (id, content string, err error) GenerateDriverMathString() (id, content string, err error) GenerateDriverPuzzle() (id, bgImage, puzzleImage string, err error) VerifyGGCaptcha(id, answer string, clear bool) bool RefreshCaptcha(ctype CaptchaType) (id, content string, err error) }
Click to show internal directories.
Click to hide internal directories.