test

package
v0.0.0-...-8d08159 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2020 License: MIT, MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func TestAddAndGet

func TestAddAndGet(w http.ResponseWriter, req *http.Request, manager session.ManagerInterface, t *testing.T)

func TestAddAndPop

func TestAddAndPop(w http.ResponseWriter, req *http.Request, manager session.ManagerInterface, t *testing.T)

func TestAll

func TestAll(manager session.ManagerInterface, t *testing.T)

func TestFlash

func TestFlash(w http.ResponseWriter, req *http.Request, manager session.ManagerInterface, t *testing.T)

func TestLoad

func TestLoad(w http.ResponseWriter, req *http.Request, manager session.ManagerInterface, t *testing.T)

func TestWithRequest

func TestWithRequest(manager session.ManagerInterface, t *testing.T)

Types

type Site

type Site struct {
	SessionManager session.ManagerInterface
}

func (Site) ServeHTTP

func (site Site) ServeHTTP(w http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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