File: starttls.go

package info (click to toggle)
golang-github-emersion-go-imap 1.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 840 kB
  • sloc: makefile: 2
file content (18 lines) | stat: -rw-r--r-- 325 bytes parent folder | download | duplicates (3)
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
}