Documentation ¶
Index ¶
- type AuthController
- type SamplesController
- func (c *SamplesController) Add(ctx *app.AddSamplesContext) error
- func (c *SamplesController) Delete(ctx *app.DeleteSamplesContext) error
- func (c *SamplesController) List(ctx *app.ListSamplesContext) error
- func (c *SamplesController) Show(ctx *app.ShowSamplesContext) error
- func (c *SamplesController) Update(ctx *app.UpdateSamplesContext) error
- type SwaggerController
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 ¶
func (c *SamplesController) Add(ctx *app.AddSamplesContext) error
Add runs the add action.
func (*SamplesController) Delete ¶
func (c *SamplesController) Delete(ctx *app.DeleteSamplesContext) error
Delete runs the delete action.
func (*SamplesController) List ¶
func (c *SamplesController) List(ctx *app.ListSamplesContext) error
List runs the list action.
func (*SamplesController) Show ¶
func (c *SamplesController) Show(ctx *app.ShowSamplesContext) error
Show runs the show action.
func (*SamplesController) Update ¶
func (c *SamplesController) Update(ctx *app.UpdateSamplesContext) error
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.
Click to show internal directories.
Click to hide internal directories.