mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-26 17:44:25 +01:00
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"`
|
||
|
}
|