middleware

package
v0.0.0-...-4469563 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2015 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

View Source
const (
	DELETE = "41m"
	GET    = "42m"
	POST   = "44m"
)

Variables

This section is empty.

Functions

func Logger

func Logger(next http.Handler) http.Handler

Very simple Console Logger

func NewLogger

func NewLogger(out io.Writer, prefix string, flag int) func(http.Handler) http.Handler

func Recovery

func Recovery(next http.Handler) http.Handler

Recovery Middleware

func Zipper

func Zipper(next http.Handler) http.Handler

Compressing Middleware

Types

This section is empty.

Jump to

Keyboard shortcuts

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