syncdirect

package
v0.0.0-...-1b09624 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: MIT Imports: 9 Imported by: 0

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

Jump to

Keyboard shortcuts

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