Documentation
¶
Index ¶
- Constants
- type Application
- func (app Application) ConfigureSMTP()
- func (app Application) Crash()
- func (app Application) EnableDBLogging()
- func (app Application) Migrate()
- func (app Application) PrintConfiguration()
- func (app Application) RetrieveUAAPublicKey()
- func (app Application) StartServer()
- func (app Application) StartWorkers()
- func (app Application) UnlockJobs()
- type Mother
- func (mother Mother) Authenticator(scopes ...string) middleware.Authenticator
- func (mother Mother) CORS() middleware.CORS
- func (mother Mother) Database() models.DatabaseInterface
- func (mother Mother) EmailRecipe() postal.EmailRecipe
- func (mother Mother) ErrorWriter() handlers.ErrorWriter
- func (mother Mother) FileSystem() services.FileSystemInterface
- func (mother Mother) GlobalUnsubscribesRepo() models.GlobalUnsubscribesRepo
- func (mother Mother) KindsRepo() models.KindsRepo
- func (mother *Mother) Logger() *log.Logger
- func (mother Mother) Logging() stack.Middleware
- func (mother Mother) MailClient() *mail.Client
- func (mother Mother) Mailer() postal.Mailer
- func (mother Mother) NotificationFinder() services.NotificationFinder
- func (mother Mother) OrganizationRecipe() postal.OrganizationRecipe
- func (mother Mother) PreferenceUpdater() services.PreferenceUpdater
- func (mother Mother) PreferencesFinder() *services.PreferencesFinder
- func (mother *Mother) Queue() *gobble.Queue
- func (mother Mother) Registrar() services.Registrar
- func (mother Mother) Repos() (models.ClientsRepo, models.KindsRepo)
- func (mother Mother) SpaceRecipe() postal.SpaceRecipe
- func (mother Mother) TemplateFinder() services.TemplateFinder
- func (mother Mother) TemplateServiceObjects() (services.TemplateFinder, services.TemplateUpdater, services.TemplateDeleter)
- func (mother Mother) TemplatesRepo() models.TemplatesRepo
- func (mother Mother) UnsubscribesRepo() models.UnsubscribesRepo
- func (mother Mother) UserRecipe() postal.UserRecipe
Constants ¶
View Source
const WorkerCount = 10
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func NewApplication ¶
func NewApplication() Application
func (Application) ConfigureSMTP ¶
func (app Application) ConfigureSMTP()
func (Application) Crash ¶
func (app Application) Crash()
This is a hack to get the logs output to the loggregator before the process exits
func (Application) EnableDBLogging ¶
func (app Application) EnableDBLogging()
func (Application) Migrate ¶
func (app Application) Migrate()
func (Application) PrintConfiguration ¶
func (app Application) PrintConfiguration()
func (Application) RetrieveUAAPublicKey ¶
func (app Application) RetrieveUAAPublicKey()
func (Application) StartServer ¶
func (app Application) StartServer()
func (Application) StartWorkers ¶
func (app Application) StartWorkers()
func (Application) UnlockJobs ¶
func (app Application) UnlockJobs()
type Mother ¶
type Mother struct {
// contains filtered or unexported fields
}
func (Mother) Authenticator ¶
func (mother Mother) Authenticator(scopes ...string) middleware.Authenticator
func (Mother) CORS ¶
func (mother Mother) CORS() middleware.CORS
func (Mother) Database ¶
func (mother Mother) Database() models.DatabaseInterface
func (Mother) EmailRecipe ¶
func (mother Mother) EmailRecipe() postal.EmailRecipe
func (Mother) ErrorWriter ¶
func (mother Mother) ErrorWriter() handlers.ErrorWriter
func (Mother) FileSystem ¶
func (mother Mother) FileSystem() services.FileSystemInterface
func (Mother) GlobalUnsubscribesRepo ¶
func (mother Mother) GlobalUnsubscribesRepo() models.GlobalUnsubscribesRepo
func (Mother) Logging ¶
func (mother Mother) Logging() stack.Middleware
func (Mother) MailClient ¶
func (Mother) NotificationFinder ¶
func (mother Mother) NotificationFinder() services.NotificationFinder
func (Mother) OrganizationRecipe ¶
func (mother Mother) OrganizationRecipe() postal.OrganizationRecipe
func (Mother) PreferenceUpdater ¶
func (mother Mother) PreferenceUpdater() services.PreferenceUpdater
func (Mother) PreferencesFinder ¶
func (mother Mother) PreferencesFinder() *services.PreferencesFinder
func (Mother) SpaceRecipe ¶
func (mother Mother) SpaceRecipe() postal.SpaceRecipe
func (Mother) TemplateFinder ¶
func (mother Mother) TemplateFinder() services.TemplateFinder
func (Mother) TemplateServiceObjects ¶
func (mother Mother) TemplateServiceObjects() (services.TemplateFinder, services.TemplateUpdater, services.TemplateDeleter)
func (Mother) TemplatesRepo ¶
func (mother Mother) TemplatesRepo() models.TemplatesRepo
func (Mother) UnsubscribesRepo ¶
func (mother Mother) UnsubscribesRepo() models.UnsubscribesRepo
func (Mother) UserRecipe ¶
func (mother Mother) UserRecipe() postal.UserRecipe
Click to show internal directories.
Click to hide internal directories.