verify

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: AGPL-3.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, 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