Documentation ¶
Index ¶
- type BaseAdminController
- type BaseController
- func (this *BaseController) JsonError(message interface{}, data ...interface{})
- func (this *BaseController) JsonSuccess(message interface{}, data ...interface{})
- func (this *BaseController) View(module, viewName string)
- func (this *BaseController) ViewError(errorMessage string, data ...interface{})
- func (this *BaseController) ViewLayout(module, viewName, layout string)
- func (this *BaseController) ViewLayoutTitle(module, title, viewName, layout string)
- func (this *BaseController) ViewTitle(module, title, viewName string)
- type JSONResponse
- type LoginController
- type MainController
- type PrivilegeController
- type RoleController
- type Role_PrivilegeController
- type SystemController
- type UserController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseAdminController ¶
type BaseAdminController struct { BaseController // contains filtered or unexported fields }
func (*BaseAdminController) Prepare ¶
func (this *BaseAdminController) Prepare()
type BaseController ¶
type BaseController struct {
beego.Controller
}
func (*BaseController) JsonError ¶
func (this *BaseController) JsonError(message interface{}, data ...interface{})
func (*BaseController) JsonSuccess ¶
func (this *BaseController) JsonSuccess(message interface{}, data ...interface{})
func (*BaseController) View ¶
func (this *BaseController) View(module, viewName string)
func (*BaseController) ViewError ¶
func (this *BaseController) ViewError(errorMessage string, data ...interface{})
func (*BaseController) ViewLayout ¶
func (this *BaseController) ViewLayout(module, viewName, layout string)
func (*BaseController) ViewLayoutTitle ¶
func (this *BaseController) ViewLayoutTitle(module, title, viewName, layout string)
func (*BaseController) ViewTitle ¶
func (this *BaseController) ViewTitle(module, title, viewName string)
type JSONResponse ¶
type LoginController ¶
type LoginController struct {
BaseController
}
func (*LoginController) Captcha ¶
func (this *LoginController) Captcha()
func (*LoginController) Index ¶
func (this *LoginController) Index()
type MainController ¶
type MainController struct {
BaseAdminController
}
func (*MainController) Default ¶
func (this *MainController) Default()
func (*MainController) Index ¶
func (this *MainController) Index()
type PrivilegeController ¶
type PrivilegeController struct {
BaseAdminController
}
func (*PrivilegeController) Add ¶
func (this *PrivilegeController) Add()
func (*PrivilegeController) Delete ¶
func (this *PrivilegeController) Delete()
func (*PrivilegeController) Edit ¶
func (this *PrivilegeController) Edit()
type RoleController ¶
type RoleController struct {
BaseAdminController
}
func (*RoleController) Add ¶
func (this *RoleController) Add()
func (*RoleController) Delete ¶
func (this *RoleController) Delete()
func (*RoleController) Edit ¶
func (this *RoleController) Edit()
func (*RoleController) List ¶
func (this *RoleController) List()
type Role_PrivilegeController ¶
type Role_PrivilegeController struct {
BaseAdminController
}
func (*Role_PrivilegeController) Save ¶
func (this *Role_PrivilegeController) Save()
type SystemController ¶
type SystemController struct {
BaseAdminController
}
func (*SystemController) Base ¶
func (this *SystemController) Base()
type UserController ¶
type UserController struct {
BaseAdminController
}
func (*UserController) Add ¶
func (this *UserController) Add()
func (*UserController) ChangePassword ¶
func (this *UserController) ChangePassword()
func (*UserController) Edit ¶
func (this *UserController) Edit()
func (*UserController) Forbidden ¶
func (this *UserController) Forbidden()
func (*UserController) List ¶
func (this *UserController) List()
func (*UserController) Review ¶
func (this *UserController) Review()
Click to show internal directories.
Click to hide internal directories.