session

package
v2.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session struct {
	Session *sessions.CookieStore
}

Session defines a Gangway session

func New

func New(sessionSecurityKey string) *Session

New inits a Session with CookieStore

func (*Session) Cleanup

func (s *Session) Cleanup(w http.ResponseWriter, r *http.Request, name string)

Cleanup removes the current session from the store

Jump to

Keyboard shortcuts

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