Documentation ¶ Index ¶ type Captcha func NewCaptcha(height int, width int, length int, c cache.ClusterConf, keyExp time.Duration, ...) *Captcha func (c *Captcha) Get() (string, string, string, error) func (c *Captcha) Verify(id, answer string) bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Captcha ¶ type Captcha struct { // contains filtered or unexported fields } func NewCaptcha ¶ func NewCaptcha(height int, width int, length int, c cache.ClusterConf, keyExp time.Duration, opts ...cache.Option) *Captcha func (*Captcha) Get ¶ func (c *Captcha) Get() (string, string, string, error) func (*Captcha) Verify ¶ func (c *Captcha) Verify(id, answer string) bool Source Files ¶ View all Source files captcha.go Click to show internal directories. Click to hide internal directories.