Documentation
¶
Index ¶
Constants ¶
View Source
const ( // FetcherWorkerName is the name of the worker fetching sources from experienced cache misses FetcherWorkerName = "olympusfetcher" // ReporterWorkerName is the name of the worker reporting cache misses ReporterWorkerName = "olympusreporter" )
Variables ¶
View Source
var ENV = env.GoEnvironmentWithDefault("development")
ENV is used to help switch settings based on where the application is being run. Default is "development".
View Source
var T *i18n.Translator
T is the translator to use
Functions ¶
func App ¶
App is where all routes and middleware for buffalo should be defined. This is the nerve center of your application.
func GetProcessCacheMissJob ¶
GetProcessCacheMissJob processes queue of cache misses and downloads sources from active Olympus
func GetStorage ¶
GetStorage returns storage backend based on env configuration
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.