actions

package
v0.0.0-...-ca9f6e0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2018 License: Apache-2.0 Imports: 13 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".

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 ErrorStruct

type ErrorStruct struct {
	Status int    `json:"status"`
	Error  string `json:"error"`
}

type FrameworksResource

type FrameworksResource struct {
	buffalo.Resource
}

func (FrameworksResource) Create

Create adds a Framework to the DB. This function is mapped to the path POST /frameworks

func (FrameworksResource) Destroy

func (v FrameworksResource) Destroy(c buffalo.Context) error

Destroy deletes a Framework from the DB. This function is mapped to the path DELETE /frameworks/{framework_id}

func (FrameworksResource) List

func (FrameworksResource) Show

Show gets the data for one Framework. This function is mapped to the path GET /frameworks/{framework_id}

func (FrameworksResource) Update

Update changes a Framework in the DB. This function is mapped to the path PUT /frameworks/{framework_id}

Jump to

Keyboard shortcuts

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