Documentation ¶
Index ¶
- func NotifyAboutDeletedPost(post *entity.Post) worker.Task
- func NotifyAboutNewComment(post *entity.Post, comment string) worker.Task
- func NotifyAboutNewPost(post *entity.Post) worker.Task
- func NotifyAboutStatusChange(post *entity.Post, prevStatus enum.PostStatus) worker.Task
- func SendChangeEmailConfirmation(action *actions.ChangeUserEmail) worker.Task
- func SendInvites(subject, message string, invitations []*actions.UserInvitation) worker.Task
- func SendSignInEmail(email, verificationKey string) worker.Task
- func SendSignUpEmail(action *actions.CreateTenant, baseURL string) worker.Task
- func SendWelcomeEmail(name, email, baseURL string) worker.Task
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NotifyAboutDeletedPost ¶
NotifyAboutDeletedPost sends a notification (web and email) to subscribers of the post that has been deleted
func NotifyAboutNewComment ¶
NotifyAboutNewComment sends a notification (web and email) to subscribers
func NotifyAboutNewPost ¶
NotifyAboutNewPost sends a notification (web and email) to subscribers
func NotifyAboutStatusChange ¶
NotifyAboutStatusChange sends a notification (web and email) to subscribers
func SendChangeEmailConfirmation ¶
func SendChangeEmailConfirmation(action *actions.ChangeUserEmail) worker.Task
SendChangeEmailConfirmation is used to send the change email confirmation email to requestor
func SendInvites ¶
func SendInvites(subject, message string, invitations []*actions.UserInvitation) worker.Task
SendInvites sends one email to each invited recipient
func SendSignInEmail ¶
SendSignInEmail is used to send the sign in email to requestor
func SendSignUpEmail ¶
func SendSignUpEmail(action *actions.CreateTenant, baseURL string) worker.Task
SendSignUpEmail is used to send the sign up email to requestor
func SendWelcomeEmail ¶
SendWelcomeEmail is used to send a welcome email to new tenant admin This email is not sent on self hosted instaces
Types ¶
This section is empty.