actions

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: May 1, 2017 License: MIT Imports: 10 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 UsersCreate

func UsersCreate(c buffalo.Context) error

UsersCreate creates a user

func UsersDelete

func UsersDelete(c buffalo.Context) error

UsersDelete removes a target user

func UsersEdit

func UsersEdit(c buffalo.Context) error

UsersEdit renders the editing page for a target user

func UsersList

func UsersList(c buffalo.Context) error

UsersList renders an html page that shows users

func UsersNew

func UsersNew(c buffalo.Context) error

UsersNew renders a form for adding a new user

func UsersShow

func UsersShow(c buffalo.Context) error

UsersShow renders an html form for viewing a user

func UsersUpdate

func UsersUpdate(c buffalo.Context) error

UsersUpdate updates a target user

Types

This section is empty.

Jump to

Keyboard shortcuts

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