session

package
v0.0.0-...-cea30b5 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2016 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Store *sessions.CookieStore
	Name  string
)

Functions

func Configure

func Configure(s Session)

func Empty

func Empty(sess *sessions.Session)

func Instance

func Instance(r *http.Request) *sessions.Session

Types

type Session

type Session struct {
	Options   sessions.Options `json:"Options"`
	Name      string           `json:"Name"`
	SecretKey string           `json:"SecretKey"`
}

Jump to

Keyboard shortcuts

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