captcha

package
v1.128.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Captcha

type Captcha struct {
}

func (*Captcha) GenerateID

func (c *Captcha) GenerateID() (string, string)

func (*Captcha) GenerateImage

func (c *Captcha) GenerateImage(captchaText string) ([]byte, error)

type ICaptcha

type ICaptcha interface {
	GenerateImage(string) ([]byte, error)
	GenerateID() (string, string)
}

func NewCaptcha

func NewCaptcha() ICaptcha

Jump to

Keyboard shortcuts

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