captcha

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var COMICSAN = []byte{}/* 245600 elements not displayed */

COMICSAN is the data for the "comic san" TrueType font.

Functions

func Captcha

func Captcha() *captcha

func Clear

func Clear(cc *captcha, ctx *context.Context)

func Current

func Current(cc *captcha, ctx *context.Context) (str string)

func Equals

func Equals(cc *captcha, ctx *context.Context, val string, ignoreCase bool) bool

func Match

func Match(cc *captcha, ctx *context.Context, ignoreCase bool) bool

Types

type Generator

type Generator interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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