Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hooker ¶
type Hooker interface {
HandleDirect(ctx *context.BizContext) error
}
type StrategySyncDirect ¶
type StrategySyncDirect struct {
// contains filtered or unexported fields
}
func NewSyncDirectStrategy ¶
func NewSyncDirectStrategy(ctx *context.BaseContext, taskName string, conf config.SyncDirectConfig, hook Hooker) (*StrategySyncDirect, error)
func (*StrategySyncDirect) Name ¶
func (strategy *StrategySyncDirect) Name() string
func (*StrategySyncDirect) Run ¶
func (strategy *StrategySyncDirect) Run() error
Click to show internal directories.
Click to hide internal directories.