1 Star 0 Fork 43

YinPeng.QD / go验证码合集包

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

tips《Go Web编程实战派》出版了,欢迎京东当当购买!

(京东(🔥🔥🔥🔥🔥🔥满100减50抢购中......)刚刚有货就到新书榜214位!...:https://item.jd.com/13200972.html

(当当(🔥🔥🔥🔥🔥🔥5折抢购中,不好意思,抢光了,补货中......)新书榜29位!!:http://product.dangdang.com/29225055.html

captchas_with_go

关于go语言验证码,网上都资料很少,特别是支持中文验证码的更少,所以自己抽空了封装一下,免费分享给大家,希望能给大家提供思路和方法~

img img img img img

Feature 特色:支持中文验证,字体可选!!

  • 支持中文验证码
  • 支持自定义词库、字库
  • 支持自定义滤镜机制,通过滤镜来增加干扰,加大识别难度
  • 当前的滤镜包括:
    • 支持干扰点
    • 支持干扰线
    • 支持其他模式的干扰
    • 更多模式,可实现imagefilter接口来扩展
  • 支持自定义存储引擎,存储引擎可扩展
  • 目前支持的存储引擎包括:

Useage

安装

go get gitee.com/shirdonl/captchas_with_go

Quick Start

参考 captcha_test.go

参考 examples/main.go

文档地址

[captcha.go Wiki]

LICENCE

captchas_with_go[GPL v3]

MIT License Copyright (c) 2019 ShirDon-廖显东 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.

简介

go语言验证码合集包,支持中英文复杂验证码,自定义字体!快速构建,免费开源啦,欢迎star,fork~ 展开 收起
Go
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Go
1
https://gitee.com/angelforce/captchas_with_go.git
git@gitee.com:angelforce/captchas_with_go.git
angelforce
captchas_with_go
go验证码合集包
master

搜索帮助

14c37bed 8189591 565d56ea 8189591