controllers

package
v0.0.0-...-c9dd92d Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsultaProyectoAcademicoController

type ConsultaProyectoAcademicoController struct {
	beego.Controller
}

func (*ConsultaProyectoAcademicoController) GetAll

GetAll ... @Title GetAll @Description get ConsultaProyectoAcademico @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.ConsultaProyectoAcademico @Failure 404 not found resource @router / [get]

func (*ConsultaProyectoAcademicoController) GetOnePorId

func (c *ConsultaProyectoAcademicoController) GetOnePorId()

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

func (*ConsultaProyectoAcademicoController) GetOneRegistroPorId

func (c *ConsultaProyectoAcademicoController) GetOneRegistroPorId()

GetOneRegistroPorId ... @Title GetOneRegistroPorId @Description get ConsultaRegistro by id @Param id path string true "The key for staticblock" @Success 200 {object} models.ConsultaProyectoAcademico @Failure 403 :id is empty @router /get_registro/:id [get]

func (*ConsultaProyectoAcademicoController) PutInhabilitarProyecto

func (c *ConsultaProyectoAcademicoController) PutInhabilitarProyecto()

PutInhabilitarProyecto ... @Title PutInhabilitarProyecto @Description Inhabilitar Proyecto @Param id path string true "el id del proyecto a inhabilitar" @Param body body {} true "body Inhabilitar Proyecto content" @Success 200 {} @Failure 400 the request contains incorrect syntax @router /inhabilitar_proyecto/:id [put]

func (*ConsultaProyectoAcademicoController) URLMapping

func (c *ConsultaProyectoAcademicoController) URLMapping()

URLMapping ...

type CrearProyectoAcademicoController

type CrearProyectoAcademicoController struct {
	beego.Controller
}

func (*CrearProyectoAcademicoController) PostCoordinadorById

func (c *CrearProyectoAcademicoController) PostCoordinadorById()

PostCoordinadorById ... @Title PostCoordinadorById @Description Post a de un cordinador de un proyecto existente, cambia estado activo a false a los coordinadores anteriores y crea el nuevo @Param id path string true "The key for staticblock" @Param body body {} true "body Agregar Registro content" @Success 200 {object} models.ConsultaProyectoAcademico @Failure 403 :id is empty @router /coordinador [post]

func (*CrearProyectoAcademicoController) PostProyecto

func (c *CrearProyectoAcademicoController) PostProyecto()

PostProyecto ... @Title PostProyecto @Description Crear Proyecto @Param body body {} true "body Agregar Proyecto content" @Success 200 {} @Failure 403 body is empty @router / [post]

func (*CrearProyectoAcademicoController) URLMapping

func (c *CrearProyectoAcademicoController) URLMapping()

URLMapping ...

Jump to

Keyboard shortcuts

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