mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-28 09:21:13 -05: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"`
|
||
|
}
|