session

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2022 License: GPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SessionTTL = time.Hour * 12
)

Variables

This section is empty.

Functions

func SessionDestroy

func SessionDestroy(ctx *gin.Context)

Destroy is destroying the session

func Sessions

func Sessions(cfg *config.Config) gin.HandlerFunc

Sessions is the sessions middleware

Types

This section is empty.

Jump to

Keyboard shortcuts

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