Debian Codegraph @

lib/autoconfig/type.go

raw
1 package autoconfig
2
3 // Config contains the discovered settings for the mailserver
4 type Config struct {
5 Found protocol
6 JMAP Credentials
7 IMAP Credentials
8 SMTP Credentials
9 }
10
11 // Credentials contains the discovered settings for a protocol.
12 type Credentials struct {
13 Encryption encryption
14 Address string
15 Port int
16 Username string
17 }