Documentation ¶
Overview ¶
Package controllers .
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseController ¶
type BaseController struct { beego.Controller Member *models.Member Scheme string }
func (*BaseController) ExecuteViewPathTemplate ¶
func (c *BaseController) ExecuteViewPathTemplate(tplName string, data interface{}) (string, error)
ExecuteViewPathTemplate 执行指定的模板并返回执行结果.
func (*BaseController) JsonResult ¶
func (c *BaseController) JsonResult(errCode int, errMsg string, data ...interface{})
JsonResult 响应 json 结果
func (*BaseController) SetMember ¶
func (c *BaseController) SetMember(member models.Member)
SetMember 获取或设置当前登录用户信息,如果 MemberId 小于 0 则标识删除 Session
type DispatcherController ¶
type DispatcherController struct {
BaseController
}
type SchedulerController ¶
type SchedulerController struct {
BaseController
}
func (*SchedulerController) Index ¶
func (p *SchedulerController) Index()
type TaskController ¶
type TaskController struct {
BaseController
}
TaskController .
func (*TaskController) Edit ¶
func (p *TaskController) Edit()
func (*TaskController) Index ¶
func (p *TaskController) Index()
Click to show internal directories.
Click to hide internal directories.