session

package
v0.0.0-...-23cbcac Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const SeesionPluginName = "session"

Variables

View Source
var Handshake = hplugin.HandshakeConfig{
	MagicCookieKey:   "SESSION_PLUGIN",
	MagicCookieValue: "m9erzlkcuac9gy4a2szc19j7xjleo4s4epwiio9opv8tjv9sid0qetl7cjo6ulkiskorqyg26pcsfyf979pgn28s5a7byfbq0n66",
}

Functions

func Sever

func Sever(opts *ServerOpts)

Types

type GRPCSessionFunc

type GRPCSessionFunc func() session.Session

type ServerOpts

type ServerOpts struct {
	GRPCSessionFunc GRPCSessionFunc
	TestConfig      *hplugin.ServeTestConfig
}

Jump to

Keyboard shortcuts

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