rotate

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeBasic = `basic`
)

Variables

This section is empty.

Functions

func NewRotate

func NewRotate(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 Rotate

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

func (*Rotate) MakeData

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

func (*Rotate) SetOption

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

Jump to

Keyboard shortcuts

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