Documentation ¶
Index ¶
- func ConvertToMapAndAddExtraData(data interface{}, newData map[string]interface{}) (map[string]interface{}, error)
- func SendDirectOTP(extReq request.ExternalRequest, req models.SendOTP, db *gorm.DB) error
- type NotificationObject
- func (n NotificationObject) SendContactUsMail() error
- func (n NotificationObject) SendEmailVerificationMail() error
- func (n NotificationObject) SendMagicLink() error
- func (n NotificationObject) SendOTP() error
- func (n NotificationObject) SendResetPasswordMail() error
- func (n NotificationObject) SendSqueeze() error
- func (n NotificationObject) SendWelcomeMail() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendDirectOTP ¶
Types ¶
type NotificationObject ¶
type NotificationObject struct { Notification *models.NotificationRecord ExtReq request.ExternalRequest Db *gorm.DB // contains filtered or unexported fields }
func NewNotificationObject ¶
func NewNotificationObject(extReq request.ExternalRequest, rdb *redis.Client, db *gorm.DB, notification *models.NotificationRecord) *NotificationObject
func (NotificationObject) SendContactUsMail ¶
func (n NotificationObject) SendContactUsMail() error
func (NotificationObject) SendEmailVerificationMail ¶
func (n NotificationObject) SendEmailVerificationMail() error
func (NotificationObject) SendMagicLink ¶
func (n NotificationObject) SendMagicLink() error
func (NotificationObject) SendOTP ¶
func (n NotificationObject) SendOTP() error
func (NotificationObject) SendResetPasswordMail ¶
func (n NotificationObject) SendResetPasswordMail() error
func (NotificationObject) SendSqueeze ¶
func (n NotificationObject) SendSqueeze() error
func (NotificationObject) SendWelcomeMail ¶
func (n NotificationObject) SendWelcomeMail() error
Click to show internal directories.
Click to hide internal directories.