dummy

package
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HTTPMiddleware

func HTTPMiddleware(nextMiddleware http.Handler) http.Handler

HTTPMiddleware

func LoggedIn

func LoggedIn(next http.Handler) http.Handler

Types

type Middleware

type Middleware struct {
}

func (*Middleware) Handler

func (m *Middleware) Handler(currentSession *session.Session, r *http.Request, w http.ResponseWriter) (changedSession *session.Session, err error)

func (*Middleware) Init

func (m *Middleware) Init()

func (Middleware) Name

func (m Middleware) Name() string

Jump to

Keyboard shortcuts

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