Versions in this module Expand all Collapse all v1 v1.3.0 Jun 19, 2014 v1.2.0 May 16, 2014 Changes in this version + type Captcha struct + CachePrefix string + ChallengeNums int + Expiration int64 + FieldCaptchaName string + FieldIdName string + StdHeight int + StdWidth int + URLPrefix string + func NewCaptcha(urlPrefix string, store cache.Cache) *Captcha + func NewWithFilter(urlPrefix string, store cache.Cache) *Captcha + func (c *Captcha) CreateCaptcha() (string, error) + func (c *Captcha) CreateCaptchaHtml() template.HTML + func (c *Captcha) Handler(ctx *context.Context) + func (c *Captcha) Verify(id string, challenge string) (success bool) + func (c *Captcha) VerifyReq(req *http.Request) bool + type Image struct + func NewImage(digits []byte, width, height int) *Image + func (m *Image) WriteTo(w io.Writer) (int64, error)