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