diff options
Diffstat (limited to 'vendor/go.jolheiser.com/hcaptcha/response.go')
-rw-r--r-- | vendor/go.jolheiser.com/hcaptcha/response.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/go.jolheiser.com/hcaptcha/response.go b/vendor/go.jolheiser.com/hcaptcha/response.go new file mode 100644 index 0000000000..007276e6c1 --- /dev/null +++ b/vendor/go.jolheiser.com/hcaptcha/response.go @@ -0,0 +1,10 @@ +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"` +} |