mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-30 05:37:05 +02:00
Renamed ImportBackend methods to StartImport / FinishImport
This commit is contained in:
parent
14d944c7ad
commit
c13c9175e3
7 changed files with 16 additions and 16 deletions
|
@ -39,11 +39,11 @@ type ImportBackend interface {
|
|||
|
||||
// If the backend needs to setup resources before starting to import,
|
||||
// this can be done here.
|
||||
Init() error
|
||||
StartImport() error
|
||||
|
||||
// The implementation can perform all steps here to finalize the
|
||||
// export/import and free used resources.
|
||||
Finish() error
|
||||
FinishImport() error
|
||||
}
|
||||
|
||||
// Must be implemented by services supporting the export of listens.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue