Documentation
¶
Index ¶
Constants ¶
View Source
const InviteCleanupWorkerName = "invite-cleanup-worker"
View Source
const InviteWorkerName = "invite-email-worker"
Variables ¶
This section is empty.
Functions ¶
func NewInviteCleanupWorker ¶
func NewInviteCleanupWorker(spec InviteCleanupWorkerSpec) worker.Worker
func NewInviteWorker ¶
func NewInviteWorker(spec InviteWorkerSpec) worker.Worker
Types ¶
type InviteCleanupRequest ¶
type InviteCleanupRequest struct{}
InviteCleanupRequest is a comparable singleton operand: successive ticks dedup to one queue entry, and Execute queries the expired set itself.
type InviteCleanupWorkerSpec ¶
type InviteCleanupWorkerSpec struct {
InviteService services.OrgInviteService
LeadershipFlag *leadership.Flag
Env string
}
type InviteWorkerSpec ¶
type InviteWorkerSpec struct {
InviteService services.OrgInviteService
EmailService emailpkg.EmailService
LeadershipFlag *leadership.Flag
Env string
}
Click to show internal directories.
Click to hide internal directories.