Documentation ¶
Index ¶
- func Register(e *gin.Engine)
- type Index
- type NotAuth
- type Notice
- type Project
- type Server
- type Spider
- type Task
- func (t *Task) Add(c *gin.Context)
- func (t *Task) AddSchedules(c *gin.Context)
- func (t *Task) Cancel(c *gin.Context)
- func (t *Task) CancelAll(c *gin.Context)
- func (t *Task) CancelMulti(c *gin.Context)
- func (t *Task) Del(c *gin.Context)
- func (t *Task) DelAll(c *gin.Context)
- func (t *Task) DelMulti(c *gin.Context)
- func (t *Task) DelSchedules(c *gin.Context)
- func (t *Task) Index(c *gin.Context)
- func (t *Task) Schedules(c *gin.Context)
- func (t *Task) UpdateSchedulesStatus(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Index ¶
type Index struct {
core.BaseController
}
type NotAuth ¶
type NotAuth struct {
core.BaseController
}
func (*NotAuth) GetSpidersAndServersByProjectId ¶
func (*NotAuth) GetVersionsByProjectId ¶
根据项目id获取所有版本号
type Notice ¶
type Notice struct {
core.BaseController
}
type Project ¶
type Project struct {
core.BaseController
}
type Spider ¶
type Spider struct {
core.BaseController
}
type Task ¶
type Task struct {
core.BaseController
}
func (*Task) AddSchedules ¶
func (*Task) CancelMulti ¶
func (*Task) DelSchedules ¶
func (*Task) UpdateSchedulesStatus ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.