actions

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2016 License: MIT Imports: 11 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.

Types

type UsersResource

type UsersResource struct {
	buffalo.BaseResource
}

func (*UsersResource) Create

func (ur *UsersResource) Create(c buffalo.Context) error

func (*UsersResource) Destroy

func (ur *UsersResource) Destroy(c buffalo.Context) error

func (*UsersResource) Edit

func (ur *UsersResource) Edit(c buffalo.Context) error

func (*UsersResource) List

func (ur *UsersResource) List(c buffalo.Context) error

func (*UsersResource) New

func (ur *UsersResource) New(c buffalo.Context) error

func (*UsersResource) Show

func (ur *UsersResource) Show(c buffalo.Context) error

func (*UsersResource) Update

func (ur *UsersResource) Update(c buffalo.Context) error

Jump to

Keyboard shortcuts

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