1 Star 1 Fork 1

wenlng/go-captcha-example

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Go Captcha

Golang/前端的实例合集


English | 中文

Go Captcha 是行为式验证码,支持文本/图形点选、滑动/拖拽、旋转等验证模式。

⭐️ 如果能帮助到你,请随手给点一个star

QQ交流群:178498936

Poster


git clone https://github.com/wenlng/go-captcha-example.git
cd go-captcha-example
go mod download
go run main.go

浏览器打开: http://127.0.0.1:9001/go-captcha-example


目录结构

|-golang  // Golang 实例
    |-internal                 
      |-app
      |-cache
      |-logic
        |-captdata
          |-click_basic.go      // 生成文本点选验证码数据
          |-click_shape.go      // 生成图形点选验证码数据
          |-rotate_basic.go     // 生成旋转验证码数据
          |-slide_basic.go      // 生成滑动验证码数据
          |-slide_region.go     // 生成拖拽验证码数据
        |-checkdata
          |-click.go            // 点选验证码校验
          |-rotate.go           // 旋转验证码校验
          |-slide.go            // 滑动/拖拽验证码校验
|-web
  |-native                // Javascript 原生实例
  |-bower                 // Javascript 原生实例,bower工具管理
  |-vue                   // Vue3 实例
  |-vue2                  // Vue2 实例 vue2.7~vue3.0
  |-vue<2.7               // Vue2 实例 vue2.0~vue2.7
  |-react                 // React 实例
  |-angular               // Angular 实例
  |-solid                 // Solid 实例
  |-svelte                // Svelte 实例
|-app
  |-uniapp                // uniApp 实例


👍 赞助一下


MIT License Copyright (c) 2021 Awen <wengaolng@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

GoCaptcha 行为验证码实例合集,Golang / JavaScript / Vue / React / Angular / Solid / Svelte / UniApp 展开 收起
README
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/wenlng/go-captcha-example.git
git@gitee.com:wenlng/go-captcha-example.git
wenlng
go-captcha-example
go-captcha-example
master

搜索帮助