session

package
v0.0.0-...-f9573de Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(r *http.Request) (*sessions.Session, error)

Get returns a session from the session store

func Init

func Init(cfg Config)

Init initialises the session store

Types

type Config

type Config interface {
	Name() string
	Secret() []byte
}

Config is the session config

Jump to

Keyboard shortcuts

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