diff options
Diffstat (limited to 'worker/types/messages.go')
-rw-r--r-- | worker/types/messages.go | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/worker/types/messages.go b/worker/types/messages.go index d8f1f56..5cd3768 100644 --- a/worker/types/messages.go +++ b/worker/types/messages.go @@ -167,6 +167,13 @@ type AppendMessage struct { Length int } +type CheckMail struct { + Message + Directories []string + Command string + Timeout time.Duration +} + // Messages type Directory struct { @@ -176,7 +183,8 @@ type Directory struct { type DirectoryInfo struct { Message - Info *models.DirectoryInfo + Info *models.DirectoryInfo + SkipSort bool } type DirectoryContents struct { |