actions

package
v0.0.0-...-a6721f7 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2018 License: MIT Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ENV = envy.Get("GO_ENV", "development")

ENV is used to help switch settings based on where the application is being run. Default is "development".

View Source
var MODE = envy.Get("ATHENS_MODE", "proxy")

MODE identifies whether athens is running in proxy or registry mode.

valid values are "proxy" or "registry"

T is the translator to use

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 GoGet

func GoGet(getter cdn.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.

Jump to

Keyboard shortcuts

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