invite

package
v0.0.5-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0

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
}

Jump to

Keyboard shortcuts

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