Documentation ¶
Index ¶
- func DisableTask(ctx g.Ctx, cornId string) (err error)
- func EnableTask(ctx g.Ctx, cornId string, funcstring string, cron string, startDate string) (err error)
- type TaskInfoService
- func (s *TaskInfoService) Log(ctx g.Ctx, param g.MapStrStr) (data interface{}, err error)
- func (s *TaskInfoService) ModifyAfter(ctx g.Ctx, method string, param g.MapStrAny) (err error)
- func (s *TaskInfoService) Once(ctx g.Ctx, id int64) error
- func (s *TaskInfoService) Record(ctx g.Ctx, id string, status int, detail string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisableTask ¶ added in v0.2.1
DisableTask 禁用任务
Types ¶
type TaskInfoService ¶
func NewTaskInfoService ¶
func NewTaskInfoService() *TaskInfoService
func (*TaskInfoService) ModifyAfter ¶ added in v0.2.1
Click to show internal directories.
Click to hide internal directories.