Documentation
¶
Index ¶
- func NotifyAboutDeletedPost(post *entity.Post, deleteCommentAdded bool) worker.Task
- func NotifyAboutNewComment(comment *entity.Comment, post *entity.Post) worker.Task
- func NotifyAboutNewPost(post *entity.Post) worker.Task
- func NotifyAboutStatusChange(post *entity.Post, prevStatus enum.PostStatus) worker.Task
- func NotifyAboutUpdatedComment(post *entity.Post, comment *entity.Comment) worker.Task
- func NotifyAboutUpdatedPost(post *entity.Post) worker.Task
- func SendChangeEmailConfirmation(action *actions.ChangeUserEmail) worker.Task
- func SendInvites(subject, message string, invitations []*actions.UserInvitation) worker.Task
- func SendSignInEmail(email, verificationCode string) worker.Task
- func SendSignUpEmail(data SignUpEmailData, baseURL string) worker.Task
- func UserListAddOrRemoveUser(userID int, role enum.Role) worker.Task
- func UserListCreateCompany(tenant entity.Tenant, user entity.User) worker.Task
- func UserListUpdateCompany(action *dto.UserListUpdateCompany) worker.Task
- func UserListUpdateUser(id int, name string, email string) worker.Task
- type SignUpEmailData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NotifyAboutDeletedPost ¶ added in v0.17.0
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 ¶ added in v0.15.0
NotifyAboutNewPost sends a notification (web and email) to subscribers
func NotifyAboutStatusChange ¶
NotifyAboutStatusChange sends a notification (web and email) to subscribers
func NotifyAboutUpdatedComment ¶ added in v0.25.0
func NotifyAboutUpdatedPost ¶ added in v0.28.0
NotifyAboutUpdatedPost sends notifications about mentions in an updated post
func SendChangeEmailConfirmation ¶
func SendChangeEmailConfirmation(action *actions.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 []*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(data SignUpEmailData, baseURL string) worker.Task
SendSignUpEmail is used to send the sign up email to requestor
func UserListAddOrRemoveUser ¶ added in v0.23.0
func UserListCreateCompany ¶ added in v0.23.0
func UserListUpdateCompany ¶ added in v0.23.0
func UserListUpdateCompany(action *dto.UserListUpdateCompany) worker.Task
Types ¶
type SignUpEmailData ¶ added in v0.31.0
SignUpEmailData contains the data needed to send a signup email