mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-28 20:56:11 +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"`
|
||
|
}
|