middleware

package
v0.0.0-...-950c997 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const JwtHeaderName = "X-JWT-Token"

Variables

This section is empty.

Functions

func ValidateCORS

func ValidateCORS(next http.Handler) http.Handler

validate CORS headers

func ValidateJWT

func ValidateJWT(next http.Handler, tokenSecret string) http.Handler

validate JWT middleware

Types

This section is empty.

Jump to

Keyboard shortcuts

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