Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MailConnection *gomail.Dialer
email connection
View Source
var RedisClient *redis.Client
redis connection
Functions ¶
func ConnectionInit ¶
func ConnectionInit(mailConfig MailConfig, redisConfig RedisConfig)
=============================================== CONNECTION INIT =============================================== //
func GenerateAndSendOTP ¶
=============================================== GENERATE OTP AND SEND IT BY EMAIL =============================================== //
Types ¶
type MailConfig ¶
=============================================== GOMAIL =============================================== //
type RedisConfig ¶
=============================================== REDIS =============================================== //
Click to show internal directories.
Click to hide internal directories.