mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-17 23:56:56 +00:00
GODT-1779: Remove go-imap
This commit is contained in:
24
internal/events/sync.go
Normal file
24
internal/events/sync.go
Normal file
@ -0,0 +1,24 @@
|
||||
package events
|
||||
|
||||
import "time"
|
||||
|
||||
type SyncStarted struct {
|
||||
eventBase
|
||||
|
||||
UserID string
|
||||
}
|
||||
|
||||
type SyncProgress struct {
|
||||
eventBase
|
||||
|
||||
UserID string
|
||||
Progress float64
|
||||
Elapsed time.Duration
|
||||
Remaining time.Duration
|
||||
}
|
||||
|
||||
type SyncFinished struct {
|
||||
eventBase
|
||||
|
||||
UserID string
|
||||
}
|
||||
Reference in New Issue
Block a user