aboutsummaryrefslogtreecommitdiff
path: root/worker/types/messages.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-01-13 16:18:10 -0500
committerDrew DeVault <sir@cmpwn.com>2019-01-13 16:18:10 -0500
commit2750f99a6049322b1361b5bfa4dff3b1df2b36ab (patch)
tree0c18f4a8180f1eda1616c07296d20323edfeab62 /worker/types/messages.go
parentcf664620005cf65d060e689fbb27b939dd3192a7 (diff)
Issue IMAP SELECT command
Diffstat (limited to 'worker/types/messages.go')
-rw-r--r--worker/types/messages.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/worker/types/messages.go b/worker/types/messages.go
index 69df6ca..27937ee 100644
--- a/worker/types/messages.go
+++ b/worker/types/messages.go
@@ -63,6 +63,11 @@ type ListDirectories struct {
Message
}
+type OpenDirectory struct {
+ Message
+ Directory string
+}
+
// Messages
type CertificateApprovalRequest struct {
@@ -75,3 +80,11 @@ type Directory struct {
Attributes []string
Name string
}
+
+type DirectoryInfo struct {
+ Message
+ ReadOnly bool
+ Flags []string
+
+ Exists, Recent, Unseen int
+}