controllers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//RESPOK : response ok code
	RESPOK = iota
	//RESPFAIL : response fail code
	RESPFAIL
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseController

type BaseController struct {
	beego.Controller
}

BaseController : Wrap of some base actions of controller

type ConfigController

type ConfigController struct {
	BaseController
}

ConfigController : controller of configuration

func (*ConfigController) Create

func (c *ConfigController) Create()

Create by dto

func (*ConfigController) Delete

func (c *ConfigController) Delete()

Delete by dto

func (*ConfigController) List

func (c *ConfigController) List()

List with pagination params

func (*ConfigController) Update

func (c *ConfigController) Update()

Update by dto

type HomeController

type HomeController struct {
	BaseController
}

HomeController : default controller

func (*HomeController) Home

func (h *HomeController) Home()

Home : default home page

Jump to

Keyboard shortcuts

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