forked from Silverfish/proton-bridge
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