github.com/masterhung0112/hk_server/v5@v5.0.0-20220302090640-ec71aef15e1c/jobs/resend_invitation_email/resend_invitation_email.go (about)

     1  // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
     2  // See LICENSE.txt for license information.
     3  package resend_invitation_email
     4  
     5  import (
     6  	"github.com/masterhung0112/hk_server/v5/app"
     7  	ejobs "github.com/masterhung0112/hk_server/v5/einterfaces/jobs"
     8  )
     9  
    10  type ResendInvitationEmailJobInterfaceImpl struct {
    11  	App *app.App
    12  }
    13  
    14  func init() {
    15  	app.RegisterJobsResendInvitationEmailInterface(func(s *app.Server) ejobs.ResendInvitationEmailJobInterface {
    16  		a := app.New(app.ServerConnector(s))
    17  		return &ResendInvitationEmailJobInterfaceImpl{a}
    18  	})
    19  }