resend_invitation_email

package
v6.0.0-...-cfe9101 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: AGPL-3.0, Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. See LICENSE.txt for license information.

Index

Constants

View Source
const FourtyEightHoursInMillis int64 = 172800000

Variables

This section is empty.

Functions

func MakeWorker

func MakeWorker(jobServer *jobs.JobServer, app AppIface, store store.Store, telemetryService *telemetry.TelemetryService) model.Worker

Types

type AppIface

type AppIface interface {
	configservice.ConfigService
	GetUserByEmail(email string) (*model.User, *model.AppError)
	GetTeamMembersByIds(teamID string, userIDs []string, restrictions *model.ViewUsersRestrictions) ([]*model.TeamMember, *model.AppError)
	InviteNewUsersToTeamGracefully(memberInvite *model.MemberInvite, teamID, senderId string, reminderInterval string) ([]*model.EmailInviteWithError, *model.AppError)
}

type ResendInvitationEmailWorker

type ResendInvitationEmailWorker struct {
	// contains filtered or unexported fields
}

func (*ResendInvitationEmailWorker) DoJob

func (rseworker *ResendInvitationEmailWorker) DoJob(job *model.Job)

func (*ResendInvitationEmailWorker) GetDurations

func (rseworker *ResendInvitationEmailWorker) GetDurations(job *model.Job) (int64, int64)

func (*ResendInvitationEmailWorker) IsEnabled

func (rseworker *ResendInvitationEmailWorker) IsEnabled(cfg *model.Config) bool

func (*ResendInvitationEmailWorker) JobChannel

func (rseworker *ResendInvitationEmailWorker) JobChannel() chan<- model.Job

func (*ResendInvitationEmailWorker) ResendEmails

func (rseworker *ResendInvitationEmailWorker) ResendEmails(job *model.Job, interval string)

func (*ResendInvitationEmailWorker) Run

func (rseworker *ResendInvitationEmailWorker) Run()

func (*ResendInvitationEmailWorker) Stop

func (rseworker *ResendInvitationEmailWorker) Stop()

func (*ResendInvitationEmailWorker) TearDown

func (rseworker *ResendInvitationEmailWorker) TearDown(job *model.Job)

Jump to

Keyboard shortcuts

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