actions

package
Version: v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2017 License: MIT Imports: 8 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 deletes a target user account

func UsersList

func UsersList(c buffalo.Context) error

UsersList returns all user data in JSON

func UsersShow

func UsersShow(c buffalo.Context) error

UsersShow renders one user's JSON data

func UsersUpdate

func UsersUpdate(c buffalo.Context) error

UsersUpdate updates a target user account data

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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