mock

package
v0.0.0-...-0c1a86e Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionStore

type SessionStore struct {
	ErrGet  error
	ErrNew  error
	ErrSave error
	Session *sessions.Session
}

SessionStore mocks github.com/gorilla/sessions.Store

func (*SessionStore) Get

func (store *SessionStore) Get(r *http.Request, name string) (*sessions.Session, error)

Get mock

func (*SessionStore) New

func (store *SessionStore) New(r *http.Request, name string) (*sessions.Session, error)

New mock

func (*SessionStore) Save

Save mock

Jump to

Keyboard shortcuts

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