application

package
v0.0.0-...-2dc3ea6 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2014 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

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 NewMother

func NewMother() *Mother

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) KindsRepo

func (mother Mother) KindsRepo() models.KindsRepo

func (*Mother) Logger

func (mother *Mother) Logger() *log.Logger

func (Mother) Logging

func (mother Mother) Logging() stack.Middleware

func (Mother) MailClient

func (mother Mother) MailClient() *mail.Client

func (Mother) Mailer

func (mother Mother) Mailer() postal.Mailer

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) Queue

func (mother *Mother) Queue() *gobble.Queue

func (Mother) Registrar

func (mother Mother) Registrar() services.Registrar

func (Mother) Repos

func (mother Mother) Repos() (models.ClientsRepo, models.KindsRepo)

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

Jump to

Keyboard shortcuts

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