Documentation ¶
Index ¶
- Constants
- Variables
- func App(config *AppConfig) (*buffalo.App, error)
- func GetEventLog() (eventlog.Eventlog, error)
- func GetProcessPushNotificationJob(storage storage.Backend, eLog eventlog.Eventlog) worker.Handler
- func GetStorage() (storage.BackendConnector, error)
- func GoGet(getter cdnmetadata.Getter) buffalo.MiddlewareFunc
- func NewCacheMissesLog() (eventlog.Appender, error)
- type AppConfig
Constants ¶
View Source
const ( // OlympusWorkerName is the name of the Olympus worker OlympusWorkerName = "olympus-worker" // DownloadHandlerName is name of the handler downloading packages from VCS DownloadHandlerName = "download-handler" // PushNotificationHandlerName is the name of the handler processing push notifications PushNotificationHandlerName = "push-notification-worker" )
Variables ¶
View Source
var ( // ENV is used to help switch settings based on where the // application is being run. Default is "development". ENV = env.GoEnvironmentWithDefault("development") // T is buffalo Translator T *i18n.Translator )
Functions ¶
func App ¶
App is where all routes and middleware for buffalo should be defined. This is the nerve center of your application.
func GetEventLog ¶
GetEventLog returns implementation of eventlog.EventLog
func GetProcessPushNotificationJob ¶
GetProcessPushNotificationJob processes queue of push notifications
func GetStorage ¶
func GetStorage() (storage.BackendConnector, error)
GetStorage returns storage.BackendConnector implementation
func GoGet ¶
func GoGet(getter cdnmetadata.Getter) buffalo.MiddlewareFunc
GoGet is middleware that checks for the 'go-get=1' query string. If it exists, uses getter to determine the redirect location
func NewCacheMissesLog ¶
NewCacheMissesLog returns impl. of eventlog.Appender
Types ¶
Click to show internal directories.
Click to hide internal directories.