Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdController ¶
type CmdController struct {
// contains filtered or unexported fields
}
CmdController 接受并处理命令
func (*CmdController) Exec ¶
func (c *CmdController) Exec()
@Title ExecCommand @Description get a command and goto exec. @Param body body models.Response true CmdInfo @Success 200 {string} models.Response @Failure 403 body is empty @router /command/exec [post]
func (*CmdController) NeedCheckLogin ¶
func (b *CmdController) NeedCheckLogin() bool
type SystemController ¶
type SystemController struct {
// contains filtered or unexported fields
}
func (*SystemController) NeedCheckLogin ¶
func (b *SystemController) NeedCheckLogin() bool
func (*SystemController) Ping ¶
func (s *SystemController) Ping()
Status 获取Agent状态 @router /ping [get,head]
Click to show internal directories.
Click to hide internal directories.