Versions in this module Expand all Collapse all v0 v0.0.2 Jul 25, 2026 Changes in this version + func RegisterRecaptchaValidator(v *validator.Validate, fieldTag string, verifier Verifier) error + type Config struct + Client *resty.Client + ExpectedAction string + MinScore float64 + Secret string + type GoogleVerifier struct + Client *resty.Client + ExpectedAction string + MinScore float64 + Secret string + func NewGoogleVerifier(cfg Config) (*GoogleVerifier, error) + func (g *GoogleVerifier) Verify(token string) (bool, error) + type MockVerifier struct + Err error + ShouldPass bool + func (m *MockVerifier) Verify(token string) (bool, error) + type RecaptchaResponse struct + Action string + ChallengeTS string + ErrorCodes []string + Hostname string + Score float64 + Success bool + type RestyConfig struct + RetryCount int + RetryMaxWaitTime int + RetryWaitTime int + type Verifier interface + Verify func(token string) (bool, error)