controller

package
v0.0.0-...-eecba0e Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2017 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BottleController

type BottleController struct {
	*goa.Controller
}

BottleController implements the bottle resource.

func NewBottleController

func NewBottleController(service *goa.Service) *BottleController

NewBottleController creates a bottle controller.

func (*BottleController) 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.

type UserController

type UserController struct {
	*goa.Controller
}

UserController implements the user resource.

func NewUserController

func NewUserController(service *goa.Service) *UserController

NewUserController creates a user controller.

func (*UserController) Create

func (c *UserController) Create(ctx *app.CreateUserContext) error

Create runs the create action.

func (*UserController) Index

func (c *UserController) Index(ctx *app.IndexUserContext) error

Index runs the index action.

func (*UserController) Show

func (c *UserController) Show(ctx *app.ShowUserContext) error

Show runs the show action.

func (*UserController) Update

func (c *UserController) Update(ctx *app.UpdateUserContext) error

Update runs the update action.

Jump to

Keyboard shortcuts

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