mirror of
https://github.com/tuna/tunasync.git
synced 2025-04-20 11:42:43 +00:00
14 lines
220 B
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()
|
|
}
|