getimap/vendor/github.com/emersion/go-imap/commands/starttls.go

19 lines
325 B
Go
Raw Normal View History

2020-03-10 13:57:28 +01:00
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
}