Secure SMTP listener

This commit is contained in:
Aine
2022-09-07 21:29:52 +03:00
parent 715ec1ef2a
commit 59ed33638b
7 changed files with 172 additions and 30 deletions

View File

@@ -28,6 +28,9 @@ type Config struct {
// DB config
DB DB
// TLS config
TLS TLS
// Sentry config
Sentry Sentry
}
@@ -40,6 +43,14 @@ type DB struct {
Dialect string
}
// TLS config
type TLS struct {
Cert string
Key string
Port string
Required bool
}
// Sentry config
type Sentry struct {
DSN string