verify

package
v0.0.0-...-592b0ac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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, error)

func (*Captcha) Verify

func (c *Captcha) Verify(id, answer string) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL