middlewares

package
v0.0.0-...-65f7e0b Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthenticationMiddleware

func AuthenticationMiddleware() core.Middleware

AuthenticationMiddleware Middleware that validates the request user, else returns forbidden

func JWTMiddleware

func JWTMiddleware() core.Middleware

JWTMiddleware Middleware that attaches user object to request context

func ResponseMiddleware

func ResponseMiddleware() core.Middleware

ResponseMiddleware Middleware that attaches Content-Type header to response writer

Types

This section is empty.

Jump to

Keyboard shortcuts

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