controllers

package
v0.0.0-...-22acd91 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GxChannelController

type GxChannelController struct {
	beego.Controller
}

oprations for GxChannel

func (*GxChannelController) Delete

func (c *GxChannelController) Delete()

@Title Delete @Description delete the GxChannel @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*GxChannelController) GetAll

func (c *GxChannelController) GetAll()

@Title Get All @Description get GxChannel @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.GxChannel @Failure 403 @router / [get]

func (*GxChannelController) GetOne

func (c *GxChannelController) GetOne()

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

func (*GxChannelController) Post

func (c *GxChannelController) Post()

@Title Post @Description create GxChannel @Param body body models.GxChannel true "body for GxChannel content" @Success 200 {int} models.GxChannel.Id @Failure 403 body is empty @router / [post]

func (*GxChannelController) Put

func (c *GxChannelController) Put()

@Title Update @Description update the GxChannel @Param id path string true "The id you want to update" @Param body body models.GxChannel true "body for GxChannel content" @Success 200 {object} models.GxChannel @Failure 403 :id is not int @router /:id [put]

func (*GxChannelController) URLMapping

func (c *GxChannelController) URLMapping()

type GxInfoController

type GxInfoController struct {
	beego.Controller
}

oprations for GxInfo

func (*GxInfoController) Delete

func (c *GxInfoController) Delete()

@Title Delete @Description delete the GxInfo @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*GxInfoController) GetAll

func (c *GxInfoController) GetAll()

@Title Get All @Description get GxInfo @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.GxInfo @Failure 403 @router / [get]

func (*GxInfoController) GetOne

func (c *GxInfoController) GetOne()

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

func (*GxInfoController) Post

func (c *GxInfoController) Post()

@Title Post @Description create GxInfo @Param body body models.GxInfo true "body for GxInfo content" @Success 200 {int} models.GxInfo.Id @Failure 403 body is empty @router / [post]

func (*GxInfoController) Put

func (c *GxInfoController) Put()

@Title Update @Description update the GxInfo @Param id path string true "The id you want to update" @Param body body models.GxInfo true "body for GxInfo content" @Success 200 {object} models.GxInfo @Failure 403 :id is not int @router /:id [put]

func (*GxInfoController) URLMapping

func (c *GxInfoController) URLMapping()

type GxLinkController

type GxLinkController struct {
	beego.Controller
}

oprations for GxLink

func (*GxLinkController) Delete

func (c *GxLinkController) Delete()

@Title Delete @Description delete the GxLink @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*GxLinkController) GetAll

func (c *GxLinkController) GetAll()

@Title Get All @Description get GxLink @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.GxLink @Failure 403 @router / [get]

func (*GxLinkController) GetOne

func (c *GxLinkController) GetOne()

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

func (*GxLinkController) Post

func (c *GxLinkController) Post()

@Title Post @Description create GxLink @Param body body models.GxLink true "body for GxLink content" @Success 200 {int} models.GxLink.Id @Failure 403 body is empty @router / [post]

func (*GxLinkController) Put

func (c *GxLinkController) Put()

@Title Update @Description update the GxLink @Param id path string true "The id you want to update" @Param body body models.GxLink true "body for GxLink content" @Success 200 {object} models.GxLink @Failure 403 :id is not int @router /:id [put]

func (*GxLinkController) URLMapping

func (c *GxLinkController) URLMapping()

type GxMasterController

type GxMasterController struct {
	beego.Controller
}

oprations for GxMaster

func (*GxMasterController) Delete

func (c *GxMasterController) Delete()

@Title Delete @Description delete the GxMaster @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*GxMasterController) GetAll

func (c *GxMasterController) GetAll()

@Title Get All @Description get GxMaster @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.GxMaster @Failure 403 @router / [get]

func (*GxMasterController) GetOne

func (c *GxMasterController) GetOne()

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

func (*GxMasterController) Post

func (c *GxMasterController) Post()

@Title Post @Description create GxMaster @Param body body models.GxMaster true "body for GxMaster content" @Success 200 {int} models.GxMaster.Id @Failure 403 body is empty @router / [post]

func (*GxMasterController) Put

func (c *GxMasterController) Put()

@Title Update @Description update the GxMaster @Param id path string true "The id you want to update" @Param body body models.GxMaster true "body for GxMaster content" @Success 200 {object} models.GxMaster @Failure 403 :id is not int @router /:id [put]

func (*GxMasterController) URLMapping

func (c *GxMasterController) URLMapping()

type GxSlideController

type GxSlideController struct {
	beego.Controller
}

oprations for GxSlide

func (*GxSlideController) Delete

func (c *GxSlideController) Delete()

@Title Delete @Description delete the GxSlide @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*GxSlideController) GetAll

func (c *GxSlideController) GetAll()

@Title Get All @Description get GxSlide @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.GxSlide @Failure 403 @router / [get]

func (*GxSlideController) GetOne

func (c *GxSlideController) GetOne()

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

func (*GxSlideController) Post

func (c *GxSlideController) Post()

@Title Post @Description create GxSlide @Param body body models.GxSlide true "body for GxSlide content" @Success 200 {int} models.GxSlide.Id @Failure 403 body is empty @router / [post]

func (*GxSlideController) Put

func (c *GxSlideController) Put()

@Title Update @Description update the GxSlide @Param id path string true "The id you want to update" @Param body body models.GxSlide true "body for GxSlide content" @Success 200 {object} models.GxSlide @Failure 403 :id is not int @router /:id [put]

func (*GxSlideController) URLMapping

func (c *GxSlideController) URLMapping()

type GxSpecialController

type GxSpecialController struct {
	beego.Controller
}

oprations for GxSpecial

func (*GxSpecialController) Delete

func (c *GxSpecialController) Delete()

@Title Delete @Description delete the GxSpecial @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*GxSpecialController) GetAll

func (c *GxSpecialController) GetAll()

@Title Get All @Description get GxSpecial @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.GxSpecial @Failure 403 @router / [get]

func (*GxSpecialController) GetOne

func (c *GxSpecialController) GetOne()

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

func (*GxSpecialController) Post

func (c *GxSpecialController) Post()

@Title Post @Description create GxSpecial @Param body body models.GxSpecial true "body for GxSpecial content" @Success 200 {int} models.GxSpecial.Id @Failure 403 body is empty @router / [post]

func (*GxSpecialController) Put

func (c *GxSpecialController) Put()

@Title Update @Description update the GxSpecial @Param id path string true "The id you want to update" @Param body body models.GxSpecial true "body for GxSpecial content" @Success 200 {object} models.GxSpecial @Failure 403 :id is not int @router /:id [put]

func (*GxSpecialController) URLMapping

func (c *GxSpecialController) URLMapping()

type GxUserController

type GxUserController struct {
	beego.Controller
}

oprations for GxUser

func (*GxUserController) Delete

func (c *GxUserController) Delete()

@Title Delete @Description delete the GxUser @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*GxUserController) GetAll

func (c *GxUserController) GetAll()

@Title Get All @Description get GxUser @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.GxUser @Failure 403 @router / [get]

func (*GxUserController) GetOne

func (c *GxUserController) GetOne()

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

func (*GxUserController) Post

func (c *GxUserController) Post()

@Title Post @Description create GxUser @Param body body models.GxUser true "body for GxUser content" @Success 200 {int} models.GxUser.Id @Failure 403 body is empty @router / [post]

func (*GxUserController) Put

func (c *GxUserController) Put()

@Title Update @Description update the GxUser @Param id path string true "The id you want to update" @Param body body models.GxUser true "body for GxUser content" @Success 200 {object} models.GxUser @Failure 403 :id is not int @router /:id [put]

func (*GxUserController) URLMapping

func (c *GxUserController) URLMapping()

type MainController

type MainController struct {
	beego.Controller
}

func (*MainController) Get

func (c *MainController) Get()

Jump to

Keyboard shortcuts

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