session

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2019 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SessionStore = sessions.NewCookieStore(generateSessionKey())

Functions

func GetStr

func GetStr(r *http.Request, key string) (string, error)

func MustGetStr

func MustGetStr(r *http.Request, key string) string

func SetStrings

func SetStrings(w http.ResponseWriter, r *http.Request, kvPairs ...string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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