ion: github.com/estebarb/ion/middleware Index | Files | Directories

package middleware

import "github.com/estebarb/ion/middleware"

Package middleware contains general purpose middleware.

Index

Package Files

middleware.go

func DontPanic Uses

func DontPanic(next http.Handler) http.Handler

DontPanic recovers from panics in other handlers

func FormParser Uses

func FormParser(next http.Handler) http.Handler

FormParser parses the forms in all the requests, so that you don't have to do it in the handlers/controllers.

func Logging Uses

func Logging(next http.Handler) http.Handler

Logging provides a logging middleware

Directories

PathSynopsis
hotcachePackage hotcache intercepts and group equal requests, perform a single server request.

Package middleware imports 3 packages (graph). Updated 2017-01-10. Refresh now. Tools for package owners.