Documentation ¶
Index ¶
- func CaptchaGenerate(w, h, codeLen, mode int, ttf ...string) (code string, image string, err error)
- type 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.