x: github.com/gobuffalo/x/sessions Index | Files

package sessions

import "github.com/gobuffalo/x/sessions"

Index

Package Files

null.go

type Null Uses

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 Uses

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

func (Null) New Uses

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

func (Null) Save Uses

func (n Null) Save(r *http.Request, w http.ResponseWriter, s *sessions.Session) error

Package sessions imports 2 packages (graph) and is imported by 10 packages. Updated 2017-09-12. Refresh now. Tools for package owners.