session

package
v0.0.0-...-8ec472f Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2025 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get[T any](s *Session, c echo.Context, name string) (T, error)

Types

type Session

type Session struct {
	// contains filtered or unexported fields
}

func NewSession

func NewSession(cfg *config.Config) *Session

func (*Session) Del

func (s *Session) Del(c echo.Context, name string) error

func (*Session) Save

func (s *Session) Save(c echo.Context, name, domain string, data any) (string, error)

Jump to

Keyboard shortcuts

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