Documentation
¶
Index ¶
Constants ¶
View Source
const (
HTTP_COOKIE = "Token"
)
Variables ¶
View Source
var JWT_KEY_BYTE = []byte(secretKey)
View Source
var SET_COOKIE_PATH = os.Getenv("SET_COOKIE_PATH")
Functions ¶
func IsValidJWTStr ¶
Types ¶
type Claims ¶
type Claims struct {
Email string `json:"email"`
jwt.StandardClaims
}
Click to show internal directories.
Click to hide internal directories.