controllers

package
v0.0.0-...-8eeb013 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OrderController

type OrderController struct {
	beego.Controller
}

Operations about object

func (*OrderController) Get

func (this *OrderController) Get()

@Title Capture Order @Description Capture order GET @Success 200 {string} count of orders in the database @Failure 403 body is empty @router / [post]

func (*OrderController) Post

func (this *OrderController) Post()

@Title Capture Order @Description Capture order POST @Param body body models.Order true "body for order content" @Success 200 {string} models.Order.ID @Failure 403 body is empty @router / [post]

Jump to

Keyboard shortcuts

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