click

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeBasic = `basic`
	TypeShape = `shape`
)

Variables

This section is empty.

Functions

func NewClick

func NewClick(captchaType string, store captcha.Storer, options ...captcha.Option) (captcha.Driver, error)

Types

type Base

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

func NewBase

func NewBase(store captcha.Storer) *Base

func (*Base) Storer

func (a *Base) Storer() captcha.Storer

func (*Base) Verify

func (a *Base) Verify(ctx context.Context, key string, response string) error

type Click

type Click struct {
	*Base
	// contains filtered or unexported fields
}

func (*Click) Init added in v0.2.1

func (a *Click) Init() error

func (*Click) MakeData

func (a *Click) MakeData(ctx context.Context) (*captcha.Data, error)

func (*Click) SetOption

func (a *Click) SetOption(key string, value interface{})

Jump to

Keyboard shortcuts

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