session

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SessionMiddleware

func SessionMiddleware(extend SessionExtend) webing.RequestHandler

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ * Session会话中间件 * option: option扩展数据 * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Types

type SessionExtend

type SessionExtend struct {
	EncryptSecret string
	Cookie        webing.Cookie
	Redis         store.RedisOption
	IsRedis       bool
}

================================================================================ * session middleware * author: 美丽的地球啊 - mliu * ================================================================================

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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