Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComparePassword ¶ added in v0.10.0
func ConvertToBase64 ¶
func ConvertToBase64()
func GenerateKey ¶ added in v0.11.0
generating a 64 bytes key. why? see the function signMessage
func HashPassword ¶ added in v0.10.0
Types ¶
type UserClaims ¶ added in v0.12.0
type UserClaims struct { jwt.StandardClaims SessionID int64 }
func (*UserClaims) Valid ¶ added in v0.12.0
func (u *UserClaims) Valid() error
Click to show internal directories.
Click to hide internal directories.