verificationcode

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VerifiCode

type VerifiCode struct {
	// contains filtered or unexported fields
}

func NewVerifiCode

func NewVerifiCode(driver base64Captcha.Driver) *VerifiCode

func (*VerifiCode) Generate

func (v *VerifiCode) Generate() (id, b64s string, err error)

func (*VerifiCode) Verify

func (v *VerifiCode) Verify(captid string, answer string) bool

Jump to

Keyboard shortcuts

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