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.
Click to show internal directories.
Click to hide internal directories.