session

package
v0.0.1-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Memory

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

func (*Memory) Delete

func (c *Memory) Delete(sid string, key string)

func (*Memory) DeleteExpires

func (c *Memory) DeleteExpires()

func (*Memory) Get

func (c *Memory) Get(sid string, key string) (any, bool)

func (*Memory) Init

func (c *Memory) Init()

func (*Memory) Set

func (c *Memory) Set(sid string, key string, value any)

type SessData

type SessData struct {
	Expires time.Time
	Data    map[string]any
}

Jump to

Keyboard shortcuts

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