session

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(data SessionData)

func Destroy

func Destroy()

func Exists

func Exists() bool

func Id

func Id() string

func Set

func Set(data SessionData)

Types

type SessionData

type SessionData = core.Dict

func Get

func Get() SessionData

func Try

func Try() SessionData

type SessionType

type SessionType struct {
	Id      string
	Exists  bool
	Create  func(SessionData)
	Get     func() SessionData
	Try     func() SessionData
	Set     func(SessionData)
	Destroy func()
}

func Session

func Session() SessionType

Jump to

Keyboard shortcuts

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