controllers

package
v0.0.0-...-9a229c4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(e *gin.Engine)

Types

type Index

type Index struct {
	core.BaseController
}

func (*Index) DoLogin

func (i *Index) DoLogin(c *gin.Context)

登录

func (*Index) Error

func (i *Index) Error(c *gin.Context)

func (*Index) Index

func (i *Index) Index(c *gin.Context)

func (*Index) Login

func (i *Index) Login(c *gin.Context)

func (*Index) Logout

func (i *Index) Logout(c *gin.Context)

退出登录

type NotAuth

type NotAuth struct {
	core.BaseController
}

func (*NotAuth) GetSpidersAndServersByProjectId

func (n *NotAuth) GetSpidersAndServersByProjectId(c *gin.Context)

func (*NotAuth) GetVersionsByProjectId

func (n *NotAuth) GetVersionsByProjectId(c *gin.Context)

根据项目id获取所有版本号

type Notice

type Notice struct {
	core.BaseController
}

func (*Notice) Setting

func (n *Notice) Setting(c *gin.Context)

type Project

type Project struct {
	core.BaseController
}

func (*Project) Add

func (p *Project) Add(c *gin.Context)

func (*Project) Del

func (p *Project) Del(c *gin.Context)

func (*Project) EditDesc

func (p *Project) EditDesc(c *gin.Context)

func (*Project) EditServers

func (p *Project) EditServers(c *gin.Context)

更新关联服务器

func (*Project) EditVersion

func (p *Project) EditVersion(c *gin.Context)

更新项目文件

func (*Project) Index

func (p *Project) Index(c *gin.Context)

type Server

type Server struct {
	core.BaseController
}

func (*Server) Add

func (s *Server) Add(c *gin.Context)

func (*Server) Del

func (s *Server) Del(c *gin.Context)

func (*Server) Edit

func (s *Server) Edit(c *gin.Context)

func (*Server) Index

func (s *Server) Index(c *gin.Context)

func (*Server) Monitor

func (s *Server) Monitor(c *gin.Context)

func (*Server) MonitorDetail

func (s *Server) MonitorDetail(c *gin.Context)

type Spider

type Spider struct {
	core.BaseController
}

func (*Spider) Index

func (s *Spider) Index(c *gin.Context)

type Task

type Task struct {
	core.BaseController
}

func (*Task) Add

func (t *Task) Add(c *gin.Context)

func (*Task) AddSchedules

func (t *Task) AddSchedules(c *gin.Context)

func (*Task) Cancel

func (t *Task) Cancel(c *gin.Context)

func (*Task) CancelAll

func (t *Task) CancelAll(c *gin.Context)

func (*Task) CancelMulti

func (t *Task) CancelMulti(c *gin.Context)

func (*Task) Del

func (t *Task) Del(c *gin.Context)

func (*Task) DelAll

func (t *Task) DelAll(c *gin.Context)

func (*Task) DelMulti

func (t *Task) DelMulti(c *gin.Context)

func (*Task) DelSchedules

func (t *Task) DelSchedules(c *gin.Context)

func (*Task) Index

func (t *Task) Index(c *gin.Context)

func (*Task) Schedules

func (t *Task) Schedules(c *gin.Context)

计划列表

func (*Task) UpdateSchedulesStatus

func (t *Task) UpdateSchedulesStatus(c *gin.Context)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL