Versions in this module Expand all Collapse all v1 v1.1.1 Apr 27, 2020 v1.0.12 Apr 27, 2020 v1.0.11 Apr 27, 2020 v1.0.10 Apr 27, 2020 v1.0.7 Apr 27, 2020 v1.0.5 Apr 27, 2020 v1.0.2 Apr 27, 2020 Changes in this version + func CaptchaGenerate(w, h, codeLen, mode int, ttf ...string) (code string, image string, err error) + type Captcha struct + CodeLen int + Dpi int + FontName string + FontPath string + FontSize float64 + H int + W int + func NewCaptcha(w, h, CodeLen int) *Captcha + func (captcha *Captcha) OutPut() (string, *image.RGBA) + func (captcha *Captcha) RangeRand(min, max int64) int64 + func (captcha *Captcha) SetFontName(FontName string) + func (captcha *Captcha) SetFontPath(FontPath string) + func (captcha *Captcha) SetFontSize(fontSize float64) + func (captcha *Captcha) SetMode(mode int)