session

package
v0.0.0-...-7c398a5 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultSessionOptions = &sessions.Options{
	Path:     "/",
	MaxAge:   86400 * 7,
	HttpOnly: true,
	Secure:   false,
}

Functions

func Delete

func Delete(c echo.Context) error

func Get

func Get[T any](c echo.Context, key string) option.Option[T]

func Set

func Set(c echo.Context, key string, value any, options *sessions.Options) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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