Documentation ¶
Index ¶
- Constants
- type Factory
- func (t *Factory) AddCron(id uint32, spec string) error
- func (t *Factory) CancelExec(ctx kratosx.Context, uuid string) error
- func (t *Factory) Close()
- func (t *Factory) DrySpec(s string) bool
- func (t *Factory) RemoveCron(id uint32) error
- func (t *Factory) Scheduler(id uint32, force bool) error
- func (t *Factory) UpdateCron(id uint32, spec string) error
- type Repo
Constants ¶
View Source
const (
ExecTypeGroup = "group"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func GlobalFactory ¶
func GlobalFactory() *Factory
func (*Factory) CancelExec ¶ added in v1.0.7
func (*Factory) RemoveCron ¶
Click to show internal directories.
Click to hide internal directories.