aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/emersion/go-imap/commands/starttls.go
blob: d900e5ebdb85f0781e52a09cf252200ac8af0ad6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
}