Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HCaptchaError ¶
func (*HCaptchaError) Error ¶
func (h *HCaptchaError) Error() string
type HCaptchaValidator ¶
func NewHCaptchaValidator ¶
func NewHCaptchaValidator(siteKey, secretKey string) HCaptchaValidator
func NewMemoryCachedValidator ¶
func NewMemoryCachedValidator(d time.Duration, v HCaptchaValidator) HCaptchaValidator
type Option ¶
type Option func(*options) error
func WithAllowedActions ¶
func WithDefaultOptions ¶
func WithDefaultOptions() Option
func WithEndpoint ¶
func WithHTTPClient ¶
func WithHostname ¶
func WithSecret ¶
Click to show internal directories.
Click to hide internal directories.