controllers

package
v0.0.0-...-65a2ed7 Latest Latest
Warning

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

Go to latest
Published: May 5, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PartidoController

type PartidoController struct {
	beego.Controller
}

PartidoController operations for Partido

func (*PartidoController) Delete

func (c *PartidoController) Delete()

Delete ... @Title Delete @Description delete the Partido @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 404 not found resource @router /:id [delete]

func (*PartidoController) GetAll

func (c *PartidoController) GetAll()

GetAll ... @Title Get All @Description get Partido @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.Partido @Failure 404 not found resource @router / [get]

func (*PartidoController) GetOne

func (c *PartidoController) GetOne()

GetOne ... @Title Get One @Description get Partido by id @Param id path string true "The key for staticblock" @Success 200 {object} models.Partido @Failure 404 not found resource @router /:id [get]

func (*PartidoController) Post

func (c *PartidoController) Post()

Post ... @Title Post @Description create Partido @Param body body models.Partido true "body for Partido content" @Success 201 {int} models.Partido @Failure 400 the request contains incorrect syntax @router / [post]

func (*PartidoController) Put

func (c *PartidoController) Put()

Put ... @Title Put @Description update the Partido @Param id path string true "The id you want to update" @Param body body models.Partido true "body for Partido content" @Success 200 {object} models.Partido @Failure 400 the request contains incorrect syntax @router /:id [put]

func (*PartidoController) URLMapping

func (c *PartidoController) URLMapping()

URLMapping ...

type PosicionController

type PosicionController struct {
	beego.Controller
}

PosicionController operations for Posicion

func (*PosicionController) Delete

func (c *PosicionController) Delete()

Delete ... @Title Delete @Description delete the Posicion @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 404 not found resource @router /:id [delete]

func (*PosicionController) GetAll

func (c *PosicionController) GetAll()

GetAll ... @Title Get All @Description get Posicion @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.Posicion @Failure 404 not found resource @router / [get]

func (*PosicionController) GetOne

func (c *PosicionController) GetOne()

GetOne ... @Title Get One @Description get Posicion by id @Param id path string true "The key for staticblock" @Success 200 {object} models.Posicion @Failure 404 not found resource @router /:id [get]

func (*PosicionController) Post

func (c *PosicionController) Post()

Post ... @Title Post @Description create Posicion @Param body body models.Posicion true "body for Posicion content" @Success 201 {int} models.Posicion @Failure 400 the request contains incorrect syntax @router / [post]

func (*PosicionController) Put

func (c *PosicionController) Put()

Put ... @Title Put @Description update the Posicion @Param id path string true "The id you want to update" @Param body body models.Posicion true "body for Posicion content" @Success 200 {object} models.Posicion @Failure 400 the request contains incorrect syntax @router /:id [put]

func (*PosicionController) URLMapping

func (c *PosicionController) URLMapping()

URLMapping ...

Jump to

Keyboard shortcuts

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