session

package
v0.0.0-...-3ada85e Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultInvokerCfg = InvokerCfg{
	Debug:     false,
	Mode:      "memory",
	MangerCfg: DefaultManagerConfig,
}
View Source
var DefaultManagerConfig = &session.ManagerConfig{
	CookieName:      "gosessionid",
	Gclifetime:      10,
	EnableSetCookie: true,
}

Functions

func DefaultBuild

func DefaultBuild() module.Invoker

default invoker build

func Invoker

func Invoker(name string) *session.Manager

invoker

Types

type InvokerCfg

type InvokerCfg struct {
	Debug     bool                   `ini:"debug"`
	Mode      string                 `ini:"mode"`
	MangerCfg *session.ManagerConfig `ini:"mangerCfg"`
}

Jump to

Keyboard shortcuts

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