actions

package
v0.99.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2018 License: MIT Imports: 43 Imported by: 0

Documentation

Index

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

func App() *buffalo.App

App is where all routes and middleware for buffalo should be defined. This is the nerve center of your application.

func GetEventLog

func GetEventLog() (eventlog.Eventlog, error)

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

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.

Jump to

Keyboard shortcuts

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