aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/emersion/go-imap/commands/close.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/emersion/go-imap/commands/close.go')
-rw-r--r--vendor/github.com/emersion/go-imap/commands/close.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/github.com/emersion/go-imap/commands/close.go b/vendor/github.com/emersion/go-imap/commands/close.go
new file mode 100644
index 0000000..cc60658
--- /dev/null
+++ b/vendor/github.com/emersion/go-imap/commands/close.go
@@ -0,0 +1,18 @@
+package commands
+
+import (
+ "github.com/emersion/go-imap"
+)
+
+// Close is a CLOSE command, as defined in RFC 3501 section 6.4.2.
+type Close struct{}
+
+func (cmd *Close) Command() *imap.Command {
+ return &imap.Command{
+ Name: "CLOSE",
+ }
+}
+
+func (cmd *Close) Parse(fields []interface{}) error {
+ return nil
+}