controllers

package
v0.0.0-...-2469c04 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Database *mgo.Database
	Service  *goa.Service
)

Functions

This section is empty.

Types

type JsController

type JsController struct {
	*goa.Controller
}

JsController implements the js resource.

func NewJsController

func NewJsController(service *goa.Service) *JsController

NewJsController creates a js controller.

type PublicController

type PublicController struct {
	*goa.Controller
}

PublicController implements the public resource.

func NewPublicController

func NewPublicController(service *goa.Service) *PublicController

NewPublicController creates a public controller.

type PurchaseController

type PurchaseController struct {
	*goa.Controller
}

PurchaseController implements the Purchase resource.

func NewPurchaseController

func NewPurchaseController(service *goa.Service, database *mgo.Database) *PurchaseController

NewPurchaseController creates a Purchase controller.

func (*PurchaseController) Create

Create runs the create action.

func (*PurchaseController) Show

Show runs the show action.

type SwaggerController

type SwaggerController struct {
	*goa.Controller
}

SwaggerController implements the Swagger resource.

func NewSwaggerController

func NewSwaggerController(service *goa.Service) *SwaggerController

NewSwaggerController creates a Swagger controller.

Jump to

Keyboard shortcuts

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