Documentation
¶
Overview ¶
Package turnstile verifies Cloudflare Turnstile challenge tokens.
Index ¶
Constants ¶
View Source
const (
CanonicalSiteverifyEndpoint = "https://challenges.cloudflare.com/turnstile/v0/siteverify"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientSpec ¶
type ClientSpec struct {
Secret string
ExpectedHostname string
ExpectedAction string
Timeout time.Duration
}
ClientSpec contains the secret verification settings that are never exposed through the public application configuration endpoint.
Click to show internal directories.
Click to hide internal directories.