Documentation
¶
Index ¶
- Variables
- func DBInit(connStr string) error
- func GenerateToken(userId string) (string, error)
- func GenerateVerificationCode() int
- func Init(dbConnStr string, jwtSecret string)
- func InitJWT(secret string)
- func SendEmail(to string, subject string, body string) error
- func VerifyToken(tokenString string) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Queries *sqlc.Queries
Functions ¶
func GenerateToken ¶
func GenerateVerificationCode ¶
func GenerateVerificationCode() int
func VerifyToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.