From 2750f99a6049322b1361b5bfa4dff3b1df2b36ab Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 13 Jan 2019 16:18:10 -0500 Subject: Issue IMAP SELECT command --- worker/types/messages.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'worker/types/messages.go') 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 +} -- cgit v1.2.3