middleware

package
v0.0.0-...-e11dbd8 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HEADER_KEY_SUBJECT = "subject"
)

Variables

View Source
var JWTSecretKey string = ""

Functions

func IsJWTAuthorized

func IsJWTAuthorized(handler http.HandlerFunc) http.HandlerFunc

check whether user is authorized or not

Types

This section is empty.

Jump to

Keyboard shortcuts

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