forked from gitea/gitea
1
0
Fork 0
gitea/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"`
}