Skip to content

munenari/recaptcha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ReCAPTCHA client

usage

req := recaptcha.Request{
	Secret:   "dummy-secret",
	Response: "dummy-response",
	RemoteIP: "127.0.0.1",
}
res, err := req.Verify()
if err != nil {
	panic(err)
}
if res.Success {
	fmt.Println("success!")
}