Documentation ¶
Index ¶
Constants ¶
View Source
const (
AuthParameter = "key"
)
Variables ¶
This section is empty.
Functions ¶
func CreateToken ¶
CreateToken creates a token with the given claims
func Middleware ¶
func Middleware(secret string) *jwtmiddleware.JWTMiddleware
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.