code_verify

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const VALIDATION_CACHE_KEY = "TOTOVAL_VALIDATION_%s"

Variables

This section is empty.

Functions

func Generate

func Generate(index string, codeLen uint, expiredMinute uint) string

func Verify

func Verify(index string, code string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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