mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 06:39:40 +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"`
|
||
|
}
|