Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Capt = func(platform string) *Captcha { return DefaultCaptcha(platform) }
Capt 生成默认验主码
View Source
var CaptchaSource = "0123456789"
CaptchaSource 默认生成图片Source
Functions ¶
This section is empty.
Types ¶
type Captcha ¶
type Captcha struct { Driver base64Captcha.Driver Store base64Captcha.Store }
Captcha 生成验证码
func NewCaptcha ¶
NewCaptcha 生成指定宽高的验证码
func NewCaptchaWith ¶
NewCaptchaWith 生成指定宽高验证码
func (*Captcha) GenerateCaptcha ¶
GenerateCaptcha 生成验证码
Click to show internal directories.
Click to hide internal directories.