session

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Session = map[string]string{}

Functions

func ChangeSession

func ChangeSession(id string, value string) error

func CreateMailCode

func CreateMailCode(email, value string)

func CreateSession

func CreateSession(value string, expired int) string

func DeleteSession

func DeleteSession(id string)

func GetMailCode

func GetMailCode(email string) string

func GetMailLast

func GetMailLast(email string) string

func GetSession

func GetSession(id string) string

func SetExpired

func SetExpired(id string, expired int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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