Documentation ¶
Index ¶
- Constants
- Variables
- func App() *buffalo.App
- func GetEventLog() (eventlog.Eventlog, error)
- func GetPackageDownloaderJob(s storage.Backend, e eventlog.Eventlog, w worker.Worker) worker.Handler
- func GetProcessPushNotificationJob(storage storage.Backend, eLog eventlog.Eventlog, w worker.Worker) worker.Handler
- func GetStorage() (storage.BackendConnector, error)
- func GoGet(getter cdnmetadata.Getter) buffalo.MiddlewareFunc
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 GetPackageDownloaderJob ¶
func GetPackageDownloaderJob(s storage.Backend, e eventlog.Eventlog, w worker.Worker) worker.Handler
GetPackageDownloaderJob porcesses queue of cache misses and downloads sources from VCS
func GetProcessPushNotificationJob ¶
func GetProcessPushNotificationJob(storage storage.Backend, eLog eventlog.Eventlog, w worker.Worker) worker.Handler
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.