tasks

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2018 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NotifyAboutDeletedPost added in v0.17.0

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

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

func NotifyAboutNewComment

func NotifyAboutNewComment(post *models.Post, comment *models.NewComment) worker.Task

NotifyAboutNewComment sends a notification (web and email) to subscribers

func NotifyAboutNewPost added in v0.15.0

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

NotifyAboutNewPost sends a notification (web and email) to subscribers

func NotifyAboutStatusChange

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

NotifyAboutStatusChange sends a notification (web and email) to subscribers

func SendChangeEmailConfirmation

func SendChangeEmailConfirmation(model *models.ChangeUserEmail) worker.Task

SendChangeEmailConfirmation is used to send the change email confirmation email to requestor

func SendInvites added in v0.12.0

func SendInvites(subject, message string, invitations []*models.UserInvitation) worker.Task

SendInvites sends one email to each invited recipient

func SendSignInEmail

func SendSignInEmail(model *models.SignInByEmail) worker.Task

SendSignInEmail is used to send the sign in email to requestor

func SendSignUpEmail

func SendSignUpEmail(model *models.CreateTenant, baseURL string) worker.Task

SendSignUpEmail is used to send the sign up email to requestor

Types

This section is empty.

Jump to

Keyboard shortcuts

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