Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { UAAClientID string UAAClientSecret string UAATokenValidator *uaa.TokenValidator UAAHost string VerifySSL bool InstanceIndex int WorkerCount int EncryptionKey []byte DBLoggingEnabled bool RootPath string Sender string Domain string QueueWaitMaxDuration int MaxQueueLength int MaxRetries int CCHost string }
type DeliveryJobProcessor ¶
type DeliveryWorker ¶
type DeliveryWorker struct { gobble.Worker DeliveryJobProcessor DeliveryJobProcessor V2DeliveryJobProcessor v2DeliveryJobProcessor // contains filtered or unexported fields }
func NewDeliveryWorker ¶
func NewDeliveryWorker(v1DeliveryJobProcessor DeliveryJobProcessor, config DeliveryWorkerConfig) DeliveryWorker
func (DeliveryWorker) Deliver ¶
func (worker DeliveryWorker) Deliver(job *gobble.Job)
type DeliveryWorkerConfig ¶
type DeliveryWorkerConfig struct { ID int UAAHost string Logger lager.Logger Queue gobble.QueueInterface DBTrace bool Database db.DatabaseInterface CampaignJobProcessor campaignJobProcessor DeliveryFailureHandler deliveryFailureHandler MessageStatusUpdater messageStatusUpdater }
type MessageGC ¶
type MessageGC struct {
// contains filtered or unexported fields
}
func NewMessageGC ¶
type WorkerGenerator ¶
func (WorkerGenerator) Work ¶
func (w WorkerGenerator) Work(workerFunc func(id int) Worker)
Click to show internal directories.
Click to hide internal directories.