mirror of https://github.com/go-gitea/gitea.git
11 lines
308 B
Go
11 lines
308 B
Go
|
package hcaptcha
|
||
|
|
||
|
// Response is an hCaptcha response
|
||
|
type Response struct {
|
||
|
Success bool `json:"success"`
|
||
|
ChallengeTS string `json:"challenge_ts"`
|
||
|
Hostname string `json:"hostname"`
|
||
|
Credit bool `json:"credit,omitempty"`
|
||
|
ErrorCodes []ErrorCode `json:"error-codes"`
|
||
|
}
|