captchax

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultGenerate

func DefaultGenerate() (string, string, error)

func Generate

func Generate(height, width, length int) (string, string, error)

func Verify

func Verify(id, answer string, clear bool) bool

Types

type Config

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

type Opt

type Opt func(*Config)

func SetSource

func SetSource(s string) Opt

func SetStore

func SetStore(s cp.Store) Opt

Jump to

Keyboard shortcuts

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