middlewares

package
v0.0.0-...-871cb95 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccessControl

func AccessControl(rw http.ResponseWriter, rq *http.Request, next http.HandlerFunc)

AccessControl is a middleware to handle permissions on tables in pREST

func HandlerSet

func HandlerSet(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)

HandlerSet add content type header

func JwtMiddleware

func JwtMiddleware(key string) negroni.Handler

JwtMiddleware check if actual request have JWT

Types

This section is empty.

Jump to

Keyboard shortcuts

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