Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateJWT ¶
GenerateJWT generates a new JWT token for a user
func SendOTPEmail ¶
SendOTPEmail sends an OTP to the provided email address
func ValidateJWT ¶
ValidateJWT validates a JWT token and returns the claims
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.