tunasync/worker/provider.go

14 lines
220 B
Go

// mirror provider is the wrapper of mirror jobs
package worker
// a mirrorProvider instance
type mirrorProvider interface {
// run mirror job
Run()
// terminate mirror job
Terminate()
// get context
Context()
}