sessions

package
Version: v0.0.0-...-21d4feb Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromContext

func FromContext(ctx context.Context) (*sessions.Session, bool)

FromContext returns renderer from context object

func NewMiddleware

func NewMiddleware(name string, store sessions.Store) func(http.Handler) http.Handler

NewMiddleware is used to expose render template to request

Types

This section is empty.

Jump to

Keyboard shortcuts

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