Versions in this module Expand all Collapse all v1 v1.0.0 Aug 28, 2021 Changes in this version + type GolddenJwt struct + Exp int + func NewGolddenJwt(exp int, puk, prk string) (gj *GolddenJwt, err error) + func (gj *GolddenJwt) CreateToken(claims jwtgo.MapClaims) (tokenStr string, err error) + func (gj *GolddenJwt) CreateTokenAndSetCookie(claims jwtgo.MapClaims, ctx *gin.Context) (tokenStr string, err error) + func (gj *GolddenJwt) GetClaimsFromToken(tokenStr string) (claims jwtgo.MapClaims, err error) + func (gj *GolddenJwt) GinJwtMiddleware(ctx *gin.Context)