middleware

package
v0.0.0-...-28d43d2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package middleware contains general purpose middleware.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DontPanic

func DontPanic(next http.Handler) http.Handler

DontPanic recovers from panics in other handlers

func FormParser

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

func Logging(next http.Handler) http.Handler

Logging provides a logging middleware

Types

This section is empty.

Directories

Path Synopsis
Package hotcache intercepts and group equal requests, perform a single server request.
Package hotcache intercepts and group equal requests, perform a single server request.

Jump to

Keyboard shortcuts

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