mirror of
1
Fork 0
forgejo/vendor/go.jolheiser.com/hcaptcha/response.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"`
}