interfaces

package
v1.0.1002 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver interface {
	// 画图
	DrawCaptcha(content string) (item base64Captcha.Item, err error)

	// 生成验证码
	GenerateIdQuestionAnswer() (id, q, a string)
}

*

  • 驱动接口 *
  • @create 2021-10-19
  • @author deatil

type Store

type Store interface {
	// 设置
	Set(string, string) error

	// 获取
	Get(string, bool) string

	// 验证
	Verify(string, string, bool) bool
}

*

  • 存储接口 *
  • @create 2021-10-18
  • @author deatil

Jump to

Keyboard shortcuts

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