actions

package
v0.0.0-...-ef166ba Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ENV = defaults.String(os.Getenv("GO_ENV"), "development")

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

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 HomeHandler

func HomeHandler(c buffalo.Context) error

HomeHandler is a default handler to serve up a home page.

func HostsCreate

func HostsCreate(c buffalo.Context) error

HostsCreate default implementation.

func HostsIndex

func HostsIndex(c buffalo.Context) error

HostsIndex default implementation.

func HostsNew

func HostsNew(c buffalo.Context) error

HostsNew implements creation of a new host.

func HostsShow

func HostsShow(c buffalo.Context) error

HostsShow default implementation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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