Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MonitorController ¶
type MonitorController struct{}
@Controller 监控信息控制器
func (MonitorController) CreatePollCode ¶
func (control MonitorController) CreatePollCode(ctx ginutil.Context) interface{}
#region @Api {title=取系统序列号} @return {type=json explainType=MsgEntity<string> explain=返回对象} @RequestMapping {name=CreatePollCode type=POST value=/monitor/pollcode} #endregion
func (MonitorController) Load ¶
func (control MonitorController) Load(ctx ginutil.Context) interface{}
#region @Api {title=读取系统硬件信息} @return {type=json explainType=MsgEntity<map> explain=返回对象} @RequestMapping {name=Load type=POST value=/monitor/load} #endregion
func (MonitorController) Logs ¶
func (control MonitorController) Logs(ctx ginutil.Context) interface{}
#region @Api {title=读取系统日志} @return {type=json explainType=MsgEntity<string> explain=返回对象} @RequestMapping {name=Load type=POST value=/monitor/logs} #endregion
Click to show internal directories.
Click to hide internal directories.