1 Star 0 Fork 43

upsimple / go验证码合集包

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
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.

About

go语言验证码合集包,支持中英文复杂验证码,自定义字体!快速构建,免费开源啦,欢迎star,fork~ expand collapse
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
Go
1
https://gitee.com/upsimple/captchas_with_go.git
git@gitee.com:upsimple/captchas_with_go.git
upsimple
captchas_with_go
go验证码合集包
master

Search