Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigDigit ¶
type ConfigDigit struct { // Height png height in pixel. Height int `json:"height"` // Width Captcha png width in pixel. Width int `json:"width"` // DefaultLen Default number of digits in captcha solution. CaptchaLen int `json:"captcha_len"` // MaxSkew max absolute skew factor of a single digit. MaxSkew float64 `json:"max_skew"` // DotCount Number of background circles. DotCount int `json:"dot_count"` }
type ConfigJsonBody ¶
type ConfigJsonBody struct { Id string `json:"id"` VerifyValue string `json:"verifyValue"` DigitParams ConfigDigit `json:"digit_params"` }
configJsonBody json request body.
Click to show internal directories.
Click to hide internal directories.