session

package
v0.0.0-...-2ce84b7 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func NewManager

func NewManager(name string, maxAge int) *Manager

func (*Manager) Add

func (manager *Manager) Add(c *fiber.Ctx, sid string)

func (*Manager) Check

func (manager *Manager) Check(c *fiber.Ctx) bool

func (*Manager) Delete

func (manager *Manager) Delete(c *fiber.Ctx)

func (*Manager) NewSession

func (manager *Manager) NewSession(sid string) *fiber.Cookie

Jump to

Keyboard shortcuts

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