asession

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(name string)

Types

type Session

type Session struct {
	Name string
	// contains filtered or unexported fields
}
var Instance *Session

func (*Session) Delete

func (s *Session) Delete(c echo.Context, key string)

func (*Session) Get

func (s *Session) Get(c echo.Context, key string) string

func (*Session) Set

func (s *Session) Set(c echo.Context, key string, value string)

func (*Session) Store

func (s *Session) Store() *sessions.CookieStore

Jump to

Keyboard shortcuts

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