controller

package
v0.0.0-...-abdcf8d Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2019 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthController

type AuthController struct {
	*goa.Controller
	// contains filtered or unexported fields
}

AuthController implements the auth resource.

func NewAuthController

func NewAuthController(service *goa.Service, db *gorm.DB) *AuthController

NewAuthController creates a auth controller.

func (*AuthController) Login

func (c *AuthController) Login(ctx *app.LoginAuthContext) error

Login runs the login action.

func (*AuthController) Reauthenticate

func (c *AuthController) Reauthenticate(ctx *app.ReauthenticateAuthContext) error

type SamplesController

type SamplesController struct {
	*goa.Controller
	// contains filtered or unexported fields
}

SamplesController implements the samples resource.

func NewSamplesController

func NewSamplesController(service *goa.Service, db *gorm.DB) *SamplesController

NewSamplesController creates a samples controller.

func (*SamplesController) Add

Add runs the add action.

func (*SamplesController) Delete

Delete runs the delete action.

func (*SamplesController) List

List runs the list action.

func (*SamplesController) Show

Show runs the show action.

func (*SamplesController) Update

Update runs the update 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