modeles

package
v0.0.0-...-70081ec Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2020 License: MIT Imports: 0 Imported by: 0

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.

type Response

type Response struct {
	StatusCode int         `json:"statusCode"`
	Message    string      `json:"message"`
	Payload    interface{} `json:"payload"`
}

Jump to

Keyboard shortcuts

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