{"modulePath":"github.com/apache/answer-plugins/captcha-google-v2","version":"v1.0.6","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package recaptcha\n\n## Variables\n\n```go\nvar Info embed.FS\n```\n\n## Types\n\n```go\ntype Captcha struct {\n\tConfig *CaptchaConfig\n}\n```\n\n```go\nfunc (c *Captcha) ConfigFields() []plugin.ConfigField\n```\n\n```go\nfunc (c *Captcha) ConfigReceiver(config []byte) error\n```\n\n```go\nfunc (c *Captcha) Create() (captcha, code string)\n```\n\n```go\nfunc (c *Captcha) GetConfig() (config string)\n```\n\n```go\nfunc (c *Captcha) Info() plugin.Info\n```\n\n```go\nfunc (c *Captcha) Verify(captcha, userInput string) (pass bool)\n```\n\n```go\ntype CaptchaConfig struct {\n\tSiteKey            string `json:\"site_key\"`\n\tSecretKey          string `json:\"secret_key\"`\n\tSiteVerifyEndpoint string `json:\"site_verify_endpoint\"`\n}\n```\n\n```go\ntype GoogleCaptchaResponse struct {\n\tSuccess    bool     `json:\"success\"`\n\tErrorCodes []string `json:\"error-codes\"`\n}\n```\n\n","path":"github.com/apache/answer-plugins/captcha-google-v2","name":"recaptcha","synopsis":"","isRedistributable":true}
