middlewares

package
v0.0.0-...-80fd6f0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthJwtVerify

func AuthJwtVerify(next http.Handler) http.Handler

AuthJwtVerify verify token and add userID to the request context

func SetContentTypeMiddleware

func SetContentTypeMiddleware(next http.Handler) http.Handler

SetContentTypeMiddleware sets content-type to json

Types

This section is empty.

Jump to

Keyboard shortcuts

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