Documentation ¶
Overview ¶
Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. See LICENSE.txt for license information.
Index ¶
- Constants
- func MakeWorker(jobServer *jobs.JobServer, app AppIface, store store.Store, ...) model.Worker
- type AppIface
- type ResendInvitationEmailWorker
- func (rseworker *ResendInvitationEmailWorker) DoJob(job *model.Job)
- func (rseworker *ResendInvitationEmailWorker) GetDurations(job *model.Job) (int64, int64)
- func (rseworker *ResendInvitationEmailWorker) IsEnabled(cfg *model.Config) bool
- func (rseworker *ResendInvitationEmailWorker) JobChannel() chan<- model.Job
- func (rseworker *ResendInvitationEmailWorker) ResendEmails(job *model.Job, interval string)
- func (rseworker *ResendInvitationEmailWorker) Run()
- func (rseworker *ResendInvitationEmailWorker) Stop()
- func (rseworker *ResendInvitationEmailWorker) TearDown(job *model.Job)
Constants ¶
View Source
const FourtyEightHoursInMillis int64 = 172800000
Variables ¶
This section is empty.
Functions ¶
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)
Click to show internal directories.
Click to hide internal directories.