Push model data instead of pull (fixes #1434)

This commit is contained in:
Jakob Borg
2015-03-26 23:26:51 +01:00
parent a3cf37cb2e
commit 454e688c3d
7 changed files with 244 additions and 47 deletions

View File

@@ -31,6 +31,8 @@ const (
FolderRejected
ConfigSaved
DownloadProgress
FolderSummary
FolderCompletion
AllEvents = (1 << iota) - 1
)
@@ -67,6 +69,10 @@ func (t EventType) String() string {
return "ConfigSaved"
case DownloadProgress:
return "DownloadProgress"
case FolderSummary:
return "FolderSummary"
case FolderCompletion:
return "FolderCompletion"
default:
return "Unknown"
}