middleware

package
v0.0.0-...-d158ecd Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2015 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SettingsContext

type SettingsContext struct{}

SettingsContext sets all the app settings on the request context

func NewSettingsContext

func NewSettingsContext() *SettingsContext

NewSettingsContext returns a new instance of AppSettingsContext

func (*SettingsContext) ServeHTTP

func (sc *SettingsContext) ServeHTTP(rw http.ResponseWriter, r *http.Request, next http.HandlerFunc)

Jump to

Keyboard shortcuts

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