handlers

package
v0.0.0-...-bb27c19 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mongo

func Mongo(next httprouter.Handle) httprouter.Handle

Mongo handler copy (take from the pool see https://godoc.org/labix.org/v2/mgo) the session and insert it inside of the context

func Panic

func Panic(next httprouter.Handle) httprouter.Handle

Panic handler catch panic to return a consistent response

Types

This section is empty.

Jump to

Keyboard shortcuts

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