ion: Index | Files | Directories

package middleware

import ""

Package middleware contains general purpose middleware.


Package Files


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


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.