sessions

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2019 License: MIT Imports: 2 Imported by: 61

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Null

type Null struct{}

Null implements the sessions.Store interface, github.com/gorilla/sessions, but does nothing with it. Perfect for APIs that don't need sessions.

func (Null) Get

func (n Null) Get(r *http.Request, name string) (*sessions.Session, error)

func (Null) New

func (n Null) New(r *http.Request, name string) (*sessions.Session, error)

func (Null) Save

Jump to

Keyboard shortcuts

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