captcha

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCaptcha

func GetCaptcha(ctx *gin.Context) *base64Captcha.Captcha

Types

type CookieStore

type CookieStore struct {
	Ctx *gin.Context
}

func (*CookieStore) Get

func (cs *CookieStore) Get(id string, clear bool) string

func (*CookieStore) Set

func (cs *CookieStore) Set(id string, value string)

func (*CookieStore) Verify

func (cs *CookieStore) Verify(id, answer string, clear bool) bool

Jump to

Keyboard shortcuts

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