Documentation ¶
Index ¶
- func E(c *xin.Context) xin.H
- func H(c *xin.Context) xin.H
- func HealthCheck(c *xin.Context)
- func Index(c *xin.Context)
- func Panic(c *xin.Context)
- type ArgIDs
- type JobController
- func (jc *JobController) Abort(c *xin.Context)
- func (jc *JobController) Index(c *xin.Context)
- func (jc *JobController) List(c *xin.Context)
- func (jc *JobController) Logs(c *xin.Context)
- func (jc *JobController) SetFile(tt tenant.Tenant, mfh *multipart.FileHeader) error
- func (jc *JobController) SetParam(v any)
- func (jc *JobController) Start(c *xin.Context)
- func (jc *JobController) Status(c *xin.Context)
- type JobCtrl
- type JobHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HealthCheck ¶
Types ¶
type JobController ¶
JobController job controller base struct
func NewJobController ¶
func NewJobController(name, tpl string) *JobController
func (*JobController) Abort ¶
func (jc *JobController) Abort(c *xin.Context)
func (*JobController) Index ¶
func (jc *JobController) Index(c *xin.Context)
func (*JobController) List ¶
func (jc *JobController) List(c *xin.Context)
func (*JobController) Logs ¶
func (jc *JobController) Logs(c *xin.Context)
func (*JobController) SetFile ¶
func (jc *JobController) SetFile(tt tenant.Tenant, mfh *multipart.FileHeader) error
func (*JobController) SetParam ¶
func (jc *JobController) SetParam(v any)
func (*JobController) Start ¶
func (jc *JobController) Start(c *xin.Context)
func (*JobController) Status ¶
func (jc *JobController) Status(c *xin.Context)
type JobHandler ¶
type JobHandler struct {
// contains filtered or unexported fields
}
JobHandler job handler
func NewJobHandler ¶
func NewJobHandler(create func() JobCtrl) *JobHandler
func (*JobHandler) Abort ¶
func (jh *JobHandler) Abort(c *xin.Context)
func (*JobHandler) Index ¶
func (jh *JobHandler) Index(c *xin.Context)
func (*JobHandler) List ¶
func (jh *JobHandler) List(c *xin.Context)
func (*JobHandler) Logs ¶
func (jh *JobHandler) Logs(c *xin.Context)
func (*JobHandler) Start ¶
func (jh *JobHandler) Start(c *xin.Context)
func (*JobHandler) Status ¶
func (jh *JobHandler) Status(c *xin.Context)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.