tasks

package
v0.0.0-...-acda5ee Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2023 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NotifyAboutDeletedPost

func NotifyAboutDeletedPost(post *entity.Post) worker.Task

NotifyAboutDeletedPost sends a notification (web and email) to subscribers of the post that has been deleted

func NotifyAboutNewComment

func NotifyAboutNewComment(post *entity.Post, comment string) worker.Task

NotifyAboutNewComment sends a notification (web and email) to subscribers

func NotifyAboutNewPost

func NotifyAboutNewPost(post *entity.Post) worker.Task

NotifyAboutNewPost sends a notification (web and email) to subscribers

func NotifyAboutStatusChange

func NotifyAboutStatusChange(post *entity.Post, prevStatus enum.PostStatus) worker.Task

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

func SendSignInEmail(email, verificationKey string) worker.Task

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

func SendWelcomeEmail(name, email, baseURL string) worker.Task

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL