session

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(ctx *fiber.Ctx, key string) error

删除

func Destroy

func Destroy(ctx *fiber.Ctx) error

清空

func Get

func Get(ctx *fiber.Ctx, key string) any

获取

func ID

func ID(ctx *fiber.Ctx) string

session id

func Regenerate

func Regenerate(ctx *fiber.Ctx) error

Regenerate

func Session

func Session(ctx *fiber.Ctx) *session.Session

Session

func Set

func Set(ctx *fiber.Ctx, key string, val any) error

设置

func Store

func Store(typ string) *session.Store

存储

Types

This section is empty.

Jump to

Keyboard shortcuts

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