Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckHashPassword ¶
func HashPassword ¶
Types ¶
type JwtWrapper ¶
func (*JwtWrapper) GenerateToken ¶
func (w *JwtWrapper) GenerateToken(user models.User) (signedToken string, err error)
func (*JwtWrapper) ValidateToken ¶
func (w *JwtWrapper) ValidateToken(signedToken string) (claims *jwtClaims, err error)
Click to show internal directories.
Click to hide internal directories.