John Olheiser
28ef973d87
Go sometimes cannot unmarshal timestamp Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: jolheiser <john.olheiser@gmail.com> Reviewed-on: #3
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"`
|
|
}
|