Go Captcha Example
⭐️ If it helps you, please give a star.
git clone https://github.com/wenlng/go-captcha-example.git
cd go-captcha-example
go mod download
go run main.go
Open in browser: http://127.0.0.1:9001/go-captcha-example
Directory structure
|-internal
|-app
|-cache
|-logic
|-captdata
|-click_basic.go // Generation text click mode captcha data
|-click_shape.go // Generation shape click mode captcha data
|-rotate_basic.go // Generation rotate mode captcha data
|-slide_basic.go // Generation slide mode captcha data
|-slide_region.go // Generation zone drag mode captcha data
|-checkdata
|-click.go // Check interactive data for text mode
|-rotate.go // Check interactive data for rotate mode
|-slide.go // Check interactive data for slide mode
|-static
|-native // js+html+css demo
|-vue // vue3 demo
|-vue2 // vue2 demo
|-react // react demo
|-angular // angular demo
|-solid // solid demo
|-svelte // svelte demo
Go Captcha is a behavior security CAPTCHA, which implements text click verification, slide verification and rotation verification.
⭐️ If it helps you, please give a star.
🍹 Buy me a coffee