Documentation ¶
Overview ¶
********************************************* ** @Des: 管理员 ** @Author: haodaquan ** @Date: 2017-09-16 14:17:37 ** @Last Modified by: haodaquan ** @Last Modified time: 2017-09-17 11:14:07 **********************************************
*********************************************************** ** @Description: controllers ** @Author: haodaquan ** @Date: 2018-06-10 19:50 ** @Last Modified by: haodaquan ** @Last Modified time: 2018-06-10 19:50 ************************************************************
********************************************* ** @Des: base controller ** @Author: haodaquan ** @Date: 2017-09-07 16:54:40 ** @Last Modified by: haodaquan ** @Last Modified time: 2017-09-18 10:28:01 **********************************************
********************************************* ** @Des: This file ... ** @Author: haodaquan ** @Date: 2017-09-08 10:21:13 ** @Last Modified by: haodaquan ** @Last Modified time: 2017-09-09 18:04:41 **********************************************
********************************************* ** @Des: login ** @Author: haodaquan ** @Date: 2017-09-07 16:30:10 ** @Last Modified by: haodaquan ** @Last Modified time: 2017-09-17 11:55:21 **********************************************
*********************************************************** ** @Description: controllers ** @Author: Bee ** @Date: 2019-02-15 20:21 ** @Last Modified by: Bee ** @Last Modified time: 2019-02-15 20:21 ************************************************************
********************************************* ** @Des: This file ... ** @Author: haodaquan ** @Date: 2017-09-14 14:23:32 ** @Last Modified by: haodaquan ** @Last Modified time: 2017-09-17 11:31:13 **********************************************
*********************************************************** ** @Description: controllers ** @Author: haodaquan ** @Date: 2018-06-09 16:11 ** @Last Modified by: Bee ** @Last Modified time: 2019-02-17 22:15:15 ************************************************************
*********************************************************** ** @Description: controllers ** @Author: haodaquan ** @Date: 2018-06-08 21:57 ** @Last Modified by: haodaquan ** @Last Modified time: 2018-06-08 21:57 ************************************************************
*********************************************************** ** @Description: controllers ** @Author: haodaquan ** @Date: 2018-06-11 21:11 ** @Last Modified by: haodaquan ** @Last Modified time: 2018-06-11 21:11 ************************************************************
*********************************************************** ** @Description: controllers ** @Author: haodaquan ** @Date: 2018-06-10 22:24 ** @Last Modified by: haodaquan ** @Last Modified time: 2018-06-10 22:24 ************************************************************
*********************************************************** ** @Description: controllers ** @Author: george hao ** @Date: 2018-07-05 16:43 ** @Last Modified by: george hao ** @Last Modified time: 2018-07-05 16:43 ************************************************************
********************************************* ** @Des: 用户 ** @Author: haodaquan ** @Date: 2017-09-16 14:17:37 ** @Last Modified by: haodaquan ** @Last Modified time: 2017-09-17 11:14:07 **********************************************
Index ¶
- Constants
- type AdminController
- type AdminInfo
- type AuthController
- type BanController
- type BaseController
- type GroupController
- type HomeController
- type LoginController
- type NotifyTplController
- type RoleController
- type ServerController
- func (self *ServerController) Add()
- func (self *ServerController) AjaxDel()
- func (self *ServerController) AjaxSave()
- func (self *ServerController) AjaxTestServer()
- func (self *ServerController) ApiGet()
- func (self *ServerController) ApiSave()
- func (self *ServerController) ApiStatus()
- func (self *ServerController) Copy()
- func (self *ServerController) Edit()
- func (self *ServerController) GetServerByGroupId()
- func (self *ServerController) List()
- func (self *ServerController) Table()
- type ServerGroupController
- type TaskController
- func (self *TaskController) Add()
- func (self *TaskController) AjaxAudit()
- func (self *TaskController) AjaxBatchAudit()
- func (self *TaskController) AjaxBatchDel()
- func (self *TaskController) AjaxBatchNoPass()
- func (self *TaskController) AjaxBatchPause()
- func (self *TaskController) AjaxBatchStart()
- func (self *TaskController) AjaxDel()
- func (self *TaskController) AjaxNopass()
- func (self *TaskController) AjaxNotifyType()
- func (self *TaskController) AjaxPause()
- func (self *TaskController) AjaxRun()
- func (self *TaskController) AjaxSave()
- func (self *TaskController) AjaxStart()
- func (self *TaskController) ApiPause()
- func (self *TaskController) ApiStart()
- func (self *TaskController) ApiTask()
- func (self *TaskController) AuditList()
- func (self *TaskController) Copy()
- func (self *TaskController) Detail()
- func (self *TaskController) Edit()
- func (self *TaskController) List()
- func (self *TaskController) Table()
- type TaskLogController
- type UserController
Constants ¶
const ( MSG_OK = 0 MSG_ERR = -1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminController ¶
type AdminController struct {
BaseController
}
func (*AdminController) Add ¶
func (self *AdminController) Add()
func (*AdminController) AjaxDel ¶
func (self *AdminController) AjaxDel()
func (*AdminController) AjaxSave ¶
func (self *AdminController) AjaxSave()
func (*AdminController) Edit ¶
func (self *AdminController) Edit()
func (*AdminController) List ¶
func (self *AdminController) List()
func (*AdminController) Table ¶
func (self *AdminController) Table()
type AdminInfo ¶
func AllAdminInfo ¶
type AuthController ¶
type AuthController struct {
BaseController
}
func (*AuthController) Index ¶
func (self *AuthController) Index()
func (*AuthController) List ¶
func (self *AuthController) List()
type BanController ¶
type BanController struct {
BaseController
}
func (*BanController) Add ¶
func (self *BanController) Add()
func (*BanController) AjaxDel ¶
func (self *BanController) AjaxDel()
func (*BanController) AjaxSave ¶
func (self *BanController) AjaxSave()
func (*BanController) Edit ¶
func (self *BanController) Edit()
func (*BanController) List ¶
func (self *BanController) List()
func (*BanController) Table ¶
func (self *BanController) Table()
type BaseController ¶
type BaseController struct { beego.Controller // contains filtered or unexported fields }
func (*BaseController) AdminAuth ¶
func (self *BaseController) AdminAuth()
type GroupController ¶
type GroupController struct {
BaseController
}
func (*GroupController) Add ¶
func (self *GroupController) Add()
func (*GroupController) AjaxDel ¶
func (self *GroupController) AjaxDel()
func (*GroupController) AjaxSave ¶
func (self *GroupController) AjaxSave()
func (*GroupController) Edit ¶
func (self *GroupController) Edit()
func (*GroupController) List ¶
func (self *GroupController) List()
func (*GroupController) Table ¶
func (self *GroupController) Table()
type HomeController ¶
type HomeController struct {
BaseController
}
func (*HomeController) Help ¶
func (self *HomeController) Help()
func (*HomeController) Index ¶
func (self *HomeController) Index()
func (*HomeController) Start ¶
func (self *HomeController) Start()
type LoginController ¶
type LoginController struct {
BaseController
}
func (*LoginController) Login ¶
func (self *LoginController) Login()
func (*LoginController) NoAuth ¶
func (self *LoginController) NoAuth()
type NotifyTplController ¶
type NotifyTplController struct {
BaseController
}
func (*NotifyTplController) Add ¶
func (self *NotifyTplController) Add()
func (*NotifyTplController) AjaxDel ¶
func (self *NotifyTplController) AjaxDel()
func (*NotifyTplController) AjaxSave ¶
func (self *NotifyTplController) AjaxSave()
func (*NotifyTplController) Edit ¶
func (self *NotifyTplController) Edit()
func (*NotifyTplController) List ¶
func (self *NotifyTplController) List()
func (*NotifyTplController) Table ¶
func (self *NotifyTplController) Table()
type RoleController ¶
type RoleController struct {
BaseController
}
func (*RoleController) Add ¶
func (self *RoleController) Add()
func (*RoleController) AjaxDel ¶
func (self *RoleController) AjaxDel()
func (*RoleController) AjaxSave ¶
func (self *RoleController) AjaxSave()
func (*RoleController) Edit ¶
func (self *RoleController) Edit()
func (*RoleController) List ¶
func (self *RoleController) List()
func (*RoleController) Table ¶
func (self *RoleController) Table()
type ServerController ¶
type ServerController struct {
BaseController
}
func (*ServerController) Add ¶
func (self *ServerController) Add()
func (*ServerController) AjaxDel ¶
func (self *ServerController) AjaxDel()
func (*ServerController) AjaxSave ¶
func (self *ServerController) AjaxSave()
func (*ServerController) AjaxTestServer ¶
func (self *ServerController) AjaxTestServer()
func (*ServerController) Copy ¶
func (self *ServerController) Copy()
func (*ServerController) Edit ¶
func (self *ServerController) Edit()
func (*ServerController) GetServerByGroupId ¶
func (self *ServerController) GetServerByGroupId()
func (*ServerController) List ¶
func (self *ServerController) List()
func (*ServerController) Table ¶
func (self *ServerController) Table()
type ServerGroupController ¶
type ServerGroupController struct {
BaseController
}
func (*ServerGroupController) Add ¶
func (self *ServerGroupController) Add()
func (*ServerGroupController) AjaxDel ¶
func (self *ServerGroupController) AjaxDel()
func (*ServerGroupController) AjaxSave ¶
func (self *ServerGroupController) AjaxSave()
func (*ServerGroupController) Edit ¶
func (self *ServerGroupController) Edit()
func (*ServerGroupController) List ¶
func (self *ServerGroupController) List()
func (*ServerGroupController) Table ¶
func (self *ServerGroupController) Table()
type TaskController ¶
type TaskController struct {
BaseController
}
func (*TaskController) Add ¶
func (self *TaskController) Add()
func (*TaskController) AjaxAudit ¶
func (self *TaskController) AjaxAudit()
func (*TaskController) AjaxBatchAudit ¶
func (self *TaskController) AjaxBatchAudit()
func (*TaskController) AjaxBatchDel ¶
func (self *TaskController) AjaxBatchDel()
func (*TaskController) AjaxBatchNoPass ¶
func (self *TaskController) AjaxBatchNoPass()
func (*TaskController) AjaxBatchPause ¶
func (self *TaskController) AjaxBatchPause()
func (*TaskController) AjaxBatchStart ¶
func (self *TaskController) AjaxBatchStart()
func (*TaskController) AjaxDel ¶
func (self *TaskController) AjaxDel()
func (*TaskController) AjaxNopass ¶
func (self *TaskController) AjaxNopass()
func (*TaskController) AjaxNotifyType ¶
func (self *TaskController) AjaxNotifyType()
func (*TaskController) AjaxPause ¶
func (self *TaskController) AjaxPause()
func (*TaskController) AjaxSave ¶
func (self *TaskController) AjaxSave()
func (*TaskController) AjaxStart ¶
func (self *TaskController) AjaxStart()
func (*TaskController) ApiPause ¶
func (self *TaskController) ApiPause()
func (*TaskController) ApiStart ¶
func (self *TaskController) ApiStart()
func (*TaskController) ApiTask ¶
func (self *TaskController) ApiTask()
func (*TaskController) AuditList ¶
func (self *TaskController) AuditList()
func (*TaskController) Copy ¶
func (self *TaskController) Copy()
func (*TaskController) Detail ¶
func (self *TaskController) Detail()
func (*TaskController) Edit ¶
func (self *TaskController) Edit()
func (*TaskController) List ¶
func (self *TaskController) List()
func (*TaskController) Table ¶
func (self *TaskController) Table()
type TaskLogController ¶
type TaskLogController struct {
BaseController
}
func (*TaskLogController) Detail ¶
func (self *TaskLogController) Detail()
func (*TaskLogController) List ¶
func (self *TaskLogController) List()
func (*TaskLogController) Table ¶
func (self *TaskLogController) Table()
type UserController ¶
type UserController struct {
BaseController
}
func (*UserController) AjaxSave ¶
func (self *UserController) AjaxSave()
func (*UserController) Edit ¶
func (self *UserController) Edit()